Module color_encoding

Module color_encoding 

Source
Expand description

Color Encoding definitions used by JPEG XL. All CIE units are for the standard 1931 2 degree observer.

Structs§

JxlColorEncoding
Color encoding of the image as structured information.

Enums§

JxlColorSpace
Color space of the image data.
JxlPrimaries
Built-in primaries for color encoding. When decoding, the primaries can be read from the JxlColorEncoding::primaries_red_xy, JxlColorEncoding::primaries_green_xy, and JxlColorEncoding::primaries_blue_xy fields regardless of the enum value. When encoding, the enum values except JxlPrimaries::Custom override the numerical fields. Some enum values match a subset of CICP (Rec. ITU-T H.273 | ISO/IEC 23091-2:2019(E)), however the white point and RGB primaries are separate enums here.
JxlRenderingIntent
Rendering intent for color encoding, as specified in ISO 15076-1:2010
JxlTransferFunction
Built-in transfer functions for color encoding. Enum values match a subset of CICP (Rec. ITU-T H.273 | ISO/IEC 23091-2:2019(E)) unless specified otherwise.
JxlWhitePoint
Built-in white points for color encoding. When decoding, the numerical xy white point value can be read from the JxlColorEncoding::white_point field regardless of the enum value. When encoding, enum values except JxlWhitePoint::Custom override the numerical fields. Some enum values match a subset of CICP (Rec. ITU-T H.273 | ISO/IEC 23091-2:2019(E)), however the white point and RGB primaries are separate enums here.