Hi,

 

Please review the following fix in JDK9:

 

Bug : https://bugs.openjdk.java.net/browse/JDK-7116979 

 

Webrev : http://cr.openjdk.java.net/~jdv/7116979/webrev.00/ 

 

Issue : When Image containing black pixels are converted from any format to 
Byte Indexed format some of the pixels are not black. They are following 
pattern similar to dithering.

 

Root cause : When we convert any format type to ByteIndexed we are adding Error 
delta values to R,G,B components using dithering indices. This is causing some 
pixels values to not point to proper index in color table.

Solution : There is no need to add error delta for primary colors containing 
basic values in R,G,B components. Exclude such pixels from delta addition.

 

Thanks,

Jay

 

Reply via email to