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

Closed
slouken opened this issue Aug 4, 2023 · 1 comment
Closed

JXL decodes into sRGB colorspace #381

slouken opened this issue Aug 4, 2023 · 1 comment

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.

@slouken
Copy link
Collaborator Author

slouken commented Jan 1, 2025

Actually, the default SDL colorspace is sRGB.

@slouken slouken closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2025
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