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

Phil Race philip.race at oracle.com
Tue Jan 3 21:38:17 UTC 2017


+1

I made a note in the referenced bug about this change.

-phil.

On 12/30/2016 12:22 PM, Brian Burkhalter wrote:
> 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