image-png icon indicating copy to clipboard operation
image-png copied to clipboard

Ignore iCCP section if it is invalid

Open nathaniel-daniel opened this issue 1 year ago • 0 comments

This PR makes invalid iCCP sections get ignored instead of throwing an error. Let me know if I should add an option to toggle this behavior.

Ideally, I think the icc_profile field should be an Option<Result<_, _>>, but that would be breaking. To ensure duplicate iccp sections are handled correctly, I introduced a new have_iccp field.

nathaniel-daniel avatar Feb 22 '24 05:02 nathaniel-daniel