-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.1_01
-
None
-
generic
-
generic
PNG images with 4 and 2 bits per pixel with PLTE chunk are rendered incorrectly. In the attached example two images are created from the bytearray using ImageIcon, exactly the same effect can be seen when they are created using
Toolkit.getDefaultToolkit().createImage(data, off, length);
Original images attached too. duke-new.png has 4 bits per pixel, duke-new3.png has 8. When opened in any graphics editors or in the vrowser they can be seen correctly.
Toolkit.getDefaultToolkit().createImage(data, off, length);
Original images attached too. duke-new.png has 4 bits per pixel, duke-new3.png has 8. When opened in any graphics editors or in the vrowser they can be seen correctly.
- duplicates
-
JDK-4809676 PNGDecoder does not handle indexed images with less than 8 bits per pixel
-
- Resolved
-