09-03-2009 10:44 AM
I'm trying to receive a JPG over wifi, and display it. It sort of works, but the picture has a green hue all over it. Does anyone know what could be causing this? I'm creating the JPG myself on my own server, and when I save it off there the colours are correct. Seemingly doing
m_bitmap = Bitmap.createBitmapFromBytes(jpgData, 0, (int) frameSize, 1);
Causes a green hue to appear all over the picture. Anyone any clues?
Solved! Go to Solution.
09-03-2009 02:34 PM
09-04-2009 08:27 AM
Hmm yes - interesting. If I make the picture greyscale it works fine, but obviously that's not very acceptable. Playing with other options on the encoding seemingly render the image unreadable by the BlackBerry. Is there a hint somewhere whereby I can encode my JPG so that the libraries can make sense of it?