2 ms·
How well does JPEG XL deal with color spaces? I don't know much about them, but understand that not all color spaces are create equal, and data gets lost in con
by mikewarot 4y ago
How well does JPEG XL deal with color spaces? I don't know much about them, but understand that not all color spaces are create equal, and data gets lost in conversions.
- lifthrasiir 4y agoJPEG XL bitstreams always have a defined color space, optionally described by an embeded ICC profile. They are a part of bitstreams instead of containers [1] because they are considered necessary to reproduce the exact output. When converting from file formats with an ambiguous color space (e.g. PNG without color space information) cjxl assumes sRGB as far as I know; you can give any display color space to djxl. [1] A JPEG XL file can be a minimal bitstream or an ISOBMFF container, where the latter can contain the actual bitstream and additional metadata like Exif. The bitstream itself should be enough for decoding.