View Full Version : MemoryImageSource on P800


Glenn
01-10-2003, 08:21 AM
Hi!

I'm experiencing some problems while using the MemoryImageSource on my P800. I first draw onto an image, then I use the PixelGrabber and an algorithm to rotate the pixels (I want to use the display "sideways"). This is the code I use:

rotatedImage = getToolkit().createImage(new MemoryImageSource(208, 270, rotatedArray, 0, 208));

This code only produce a black image on the P800, but if I run run it as a regular Java app everything works...

Any ideas?

Best regards,

Glenn