Crate jxl_color

Crate jxl_color 

Source
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

  • consts defines constants used by the various colorspaces.
  • icc provides functions related to ICC profiles.

Modules§

consts
Constants used by the various colorspaces.
icc
Functions related to ICC profiles.

Structs§

ColorEncodingWithProfile
Color encoding represented by either enum values or an ICC profile.
ColorTransform
Color transformation from a color encoding to another.
ColorTransformBuilder
Customxy
Custom xy-chromaticity coordinate.
EnumColourEncoding
“Enum color encoding” represented by JPEG XL enum values.
NullCms
“Null” color management system that fails on every operation.
OpsinInverseMatrix
Opsin inverse metadata.
ToneMapping
HDR tone mapping metadata.

Enums§

ColourEncoding
Color encoding, either represented by enum values, or a signal of existence of ICC profile.
ColourSpace
Color space type.
Error
Primaries
RGB primaries.
RenderingIntent
Rendering intent, defined by ICC specification.
TransferFunction
Transfer function (tone curve).
WhitePoint
White point.

Traits§

AsIlluminant
AsPrimaries
ColorManagementSystem
Color management system that handles ICCv4 profiles.
PreparedTransform
Prepared transformation created by ColorManagementSystem.

Functions§

ycbcr_to_rgb
Applies transform from YCbCr to RGB.

Type Aliases§

Result