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

Convert utility is needlessly gamut mapping HDR colors in HDR colorspaces #11

Open
svgeesus opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@svgeesus
Copy link
Member

For example color(display-p3 0 1.5 0) is color(rec2020 0.7082 1.528 0.1721) and this ,correctly,gets gamut mapped because Rec BT.2020 is an SDR colorspace.

But color(rec2100-linear 0.5039 2.389 0.0447) should not be gamut mapped, it is an HDR space where (1 1 1) is SDR white and HDR colors have one or more components above 1.

I suspect this is because rec2100-linear is inheriting too much from the implementation of rec2020-linear.

@svgeesus svgeesus added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant