3 ms·
Looking forward to hearing more about this bit: > The way jpegli handles XYB color in a JPEG image is by applying an ICC color profile that maps the existing J
by ZeroGravitas 3y ago
Looking forward to hearing more about this bit:
> The way jpegli handles XYB color in a JPEG image is by applying an ICC color profile that maps the existing JPEG color channels to XYB. This actually has the potential to increase the bit depth of the image, which could allow 10 bit JPEGs in the future. I'm excited to see XYB JPEG continue to improve via jpegli, but for now we're just going going to use libjxl's included cjpegli binary to test some photographic images.
- lonjil 3y agoNote that XYB JPEG isn't the only way to increase the effective bit depth of the image. Using a typical color space but using a different transfer function such as Perceptual Quantizer or Hybrid Log-Gamma has a similar effect, and this is exploited right now. Take an HDR JXL file and tell djxl to decode it to a jpeg or a png, and you'll get a PQ-encoded file with an ICC profile containing the appropriate information for HDR rendering and for tone-mapped SDR rendering :)