You provide far too little information to expect a useful answer.
But since you're talking about KDK, I assume you mean Java Kindlets. Most of the standard AWT stuff is supported on the Kindles, so your best bet is to use
this information. Note that the
Graphics object also has a drawImage() method which supports many common image formats, so you don't have to paint every pixel manually - unless you want to, that is.