[OpenJDK 2D-Dev] RFR: 8172153: Create workaround for failure to use ICC profile contained in a TIFF field

Brian Burkhalter brian.burkhalter at oracle.com
Fri Dec 30 20:22:16 UTC 2016


Please review at your convenience.

Issue:	https://bugs.openjdk.java.net/browse/JDK-8172153
Patch:	http://cr.openjdk.java.net/~bpb/8172153/webrev.00/

If there is an error creating an ICC_ColorSpace instance from the data in an ICC Profile field, or invoking the method ColorSpace.toRGB() with parameter float[] {1.0F, 1.0F, 1.0F} on the created ICC_ColorSpace instance throws an exception, then fall back to a standard ColorSpace in preference to not being able to read the image.

Thanks,

Brian


More information about the 2d-dev mailing list