RFR: JDK-8347377 : Add validation checks for ICC_Profile header fields [v9]

Sergey Bylokhov serb at openjdk.org
Sat Feb 1 00:29:53 UTC 2025


On Fri, 31 Jan 2025 21:11:10 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>When Rendering Intent validation is skipped, it means that along with non-icc intents other random invalid values are also allowed while updating the profile.. Is it okay to allow invalid Rendering Intents that successfully updated the profile only to cause exception later by LCMS (as below during color transform)?

I think there is an API to check if an intent is supported or not: `cmsIsIntentSupported` we can try to reuse it.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23044#issuecomment-2628614903


More information about the client-libs-dev mailing list