Structs§
- Color
Encoding - CICP-style color encoding: which primaries + transfer + rendering intent the original image was authored in. The white point is fixed by the primaries for the named enumerants (e.g. sRGB primaries imply D65), but JXL still carries it as a separate field, so we expose it.
- Encode
Config
Enums§
- Color
Space - JXL ColorSpace enum (2 bits — direct, no U32Coder).
- Encode
Error - Errors that can occur during JXL encoding.
- Transfer
Function - JXL TransferFunction enum (U32Coder).
- White
Point - JXL WhitePoint enum (U32Coder, 4 enumerants in the named range).
Functions§
- distance_
from_ quality - encode_
image - Encode a linear-light RGB
Image3Fat the given butteraugli distance, using the default color encoding (sRGB primaries, linear transfer). - encode_
image_ 10bit - encode_
image_ 12bit - encode_
image_ with_ alpha - Encode a linear-light RGB
Image3Fat the given butteraugli distance, using the default color encoding (sRGB primaries, linear transfer). - encode_
image_ with_ alpha_ 10bit - encode_
image_ with_ alpha_ 12bit