Archived:Incorrect RGB values for JPG images on Series 40 3rd Edition (Known Issue)
The RGB values of the pixels in a JPG image on Series 40 3rd Edition devices may be altered from the values in the original images.
The RGB values of the pixels may be altered to differ from the values in the original images. For example, when you load an image which has only one color: RGB 255,254,128 and the RGB values from the image object are read after loading it in the MIDlet, they have been altered to 255,255,109. The problem is only limited to JPG images, the problem does not occur in PNG images.
How to reproduce
The following code sample should print "ARGB:255,255,254,128" but prints "ARGB:255,255,255,109":