Re: [csswg-drafts] [css-color-4] Evaluate static gamut mapping algorithms for oklab/oklch spaces (#10579)

I realized I could quickly alter Edge Seeker to generate a rec2020-based LUT, and as I suspected, the performance dropped significantly. I've added it to the [table above](https://github.com/w3c/csswg-drafts/issues/10579#issuecomment-2954505854) as `Edge Seeker rec2020`. It roughly matches the Chromium approach. 

I didn't see a quick way to switch RayTrace or Björn to get to the rec2020 boundary, but would suspect similar performance differences. The `clip to display gamut` step is likely to be the step with the largest non-Chroma change, so I still agree that the LUT/Edge Seeker algorithm is a good path forward.

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


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

Received on Wednesday, 11 June 2025 02:43:49 UTC