Re: [csswg-drafts] [css-color-4] CSS gamut mapping algorithm clarifications (#7653)

In terms of clarifying the prose, I think it would be beneficial for section _13.1.5. Chroma Reduction with Local Clipping_ to explain the algorithm as finding the point of maximum chroma along the segment between the color and its achromatic version that's either in gamut or has a clipped version that is not noticeably different (ΔE < JND).

Section _13.2. CSS Gamut Mapping to an RGB Destination_ could then explain how the adjustment can be baked into the binary search method and how other (iterative/analytical) methods may need to compensate by "pushing chroma out" — which, by lack of mathematical imagination, I reckon is still some sort of binary search, unless it is similarly amenable to faster methods.

-- 
GitHub Notification of comment by danburzo
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7653#issuecomment-1489356202 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 29 March 2023 21:31:48 UTC