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

Clamp the hival parameter of Indexed color space to the range [0; 255] #18890

Merged
merged 1 commit into from
Oct 12, 2024

Commits on Oct 12, 2024

  1. Clamp the hival parameter of Indexed color space to the range [0; 255]

    Since this value is used to allocate an array, it makes sense to avoid to use too much memory.
    From the specs, this value must be in the range [0; 255] (see section 8.6.6.3).
    This patch removes the unused property 'highVal'.
    calixteman committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    4dea773 View commit details
    Browse the repository at this point in the history