JXL decodes into sRGB colorspace
slouken opened this issue · comments
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.
Image decoding for many popular formats for Simple Directmedia Layer.
slouken opened this issue · comments
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.