Skip to content

v2.1.0

Choose a tag to compare

@danburzo danburzo released this 21 Feb 21:27
· 97 commits to main since this release

New features

Adds support for the XYB (xyb) color model, part of the JPEG XL Image Coding System, as an LMS-based colour model inspired by the human visual system, facilitating perceptually uniform quantization. It uses a gamma of 3 for computationally efficient decoding.

New exports: xyb (shortcut to converter('xyb')), modeXyb, convertXybToRgb, convertRgbToXyb.

Note: Please update to version 2.1.1 for an adjusted XYB color space that includes the Chroma from luma adjustment used in JPEG XL.

A square canvas shows the trapezoidal shape of the srgb gamut in xyb color space, against a black backdrop

Above: The sRGB gamut in the XYB color space, for a slice of constant y.