Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove cHRM check to accomodate ACES AP1 #579

Closed
wants to merge 1 commit into from

Commits on Sep 4, 2024

  1. Remove cHRM check to accomodate ACES AP1

    ACES AP1 has a red endpoint with a negative Z, this triggers the checks
    in libpng that ensure that x, y and z (chromaticities) are all >=0.
    This removes the checks on the sign of the chromaticities since it is
    valid to use negative values for any of them and converts the "internal"
    error code return to external (because the internal cases correspond to
    negative x, y or z.)
    
    Signed-off-by: John Bowler <jbowler@acm.org>
    jbowler committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    95f8975 View commit details
    Browse the repository at this point in the history