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

JXL decodes into sRGB colorspace #381

Open
slouken opened this issue Aug 4, 2023 · 0 comments
Open

JXL decodes into sRGB colorspace #381

slouken opened this issue Aug 4, 2023 · 0 comments

Comments

@slouken
Copy link
Collaborator

slouken commented Aug 4, 2023

SDL currently uses 8-bit linear RGB for surfaces, but the JXL decoder outputs sRGB. We need to convert the pixels to linear RGB before returning the surface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant