Expand description
This crate provides a set of functions related to color encodings defined by the JPEG XL specification.
§Color transformation
jxl-color can handle the transformation between “well-known” color encodings without any
external color management system, since it is required by the specification. Such
transformations can be done by creating a ColorTransform.
§Modules
Modules§
Structs§
- Color
Encoding With Profile - Color encoding represented by either enum values or an ICC profile.
- Color
Transform - Color transformation from a color encoding to another.
- Color
Transform Builder - Customxy
- Custom xy-chromaticity coordinate.
- Enum
Colour Encoding - “Enum color encoding” represented by JPEG XL enum values.
- NullCms
- “Null” color management system that fails on every operation.
- Opsin
Inverse Matrix - Opsin inverse metadata.
- Tone
Mapping - HDR tone mapping metadata.
Enums§
- Colour
Encoding - Color encoding, either represented by enum values, or a signal of existence of ICC profile.
- Colour
Space - Color space type.
- Error
- Primaries
- RGB primaries.
- Rendering
Intent - Rendering intent, defined by ICC specification.
- Transfer
Function - Transfer function (tone curve).
- White
Point - White point.
Traits§
- AsIlluminant
- AsPrimaries
- Color
Management System - Color management system that handles ICCv4 profiles.
- Prepared
Transform - Prepared transformation created by
ColorManagementSystem.
Functions§
- ycbcr_
to_ rgb - Applies transform from YCbCr to RGB.