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

Harshitha Onkar honkar at openjdk.org
Tue Jan 14 20:47:41 UTC 2025


On Tue, 14 Jan 2025 20:41:06 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> our own profiles do not strictly follow these specification, so if lcms ignores that we can do the same, especially since we fallback to the "Perceptual intent"
> 
> https://github.com/openjdk/jdk/blob/13a1775718f329b02cdeb82f9d3f7d878ac5e771/src/java.desktop/share/classes/sun/java2d/cmm/lcms/LCMSTransform.java#L75

Is it for the above reason (it can take ICC Intent as well as Non ICC Intent) that LCMSTransform does NOT validate the value of rendering intent ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23044#discussion_r1915575998


More information about the client-libs-dev mailing list