SDL_image
SDL_image copied to clipboard
JXL decodes into sRGB colorspace
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.