Re: [csswg-drafts] [css-color-4] Channel clipping breaks author expectations, especially when using 'perceptually uniform' spaces (#9449)

From the code, it seems the second scale is definitely always needed.

Just from the few experiments I performed in my earlier post. I think kind of boils down to the use case. If I were processing images (as I did in my earlier post), I'd probably prefer the original chroma reduction as Scale LH is not as good in this use case. Scale LH seems to be a compromise between clipping and chroma reduction. If we are mainly talking about setting foreground and background colors in CSS and doing gradients, then scale LH is much faster and seems, at first blush, that it may be good enough to give reasonable approximations.

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


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

Received on Wednesday, 14 February 2024 17:26:51 UTC