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.
Floating-point gain map parameters, the convenient way to build an
IsoGainMap. Per-channel arrays are [R, G, B]; pass three identical
values for a single-channel (luminance) gain map.
Order in which a lossy VarDCT frame stores its groups. A progressive
decoder renders groups as they arrive, so this is the order the image
fills in. Costs a few bytes for the signaled permutation; the pixels are
identical.
Which arm the lossy encoder uses. Besides VarDCT, jixel carries a lossy
modular arm (quantized Squeeze pyramid): multi-resolution residual coding
that outperforms block DCT on smooth/gradient-heavy content, most clearly
from medium quality down.
Encode an 8-bit grayscale image. input is width * height luma bytes.
The codestream declares a Gray color space, so the decoder emits a
single-channel (L) image. Internally the luma is run through the XYB
pipeline with R=G=B; the chroma channels are ~constant and cost almost
nothing.
Encode a 32-bit float RGBA image (lossy). input is interleaved
[R, G, B, A]; RGB uses config.color_encoding in [0, 1], A is linear opacity in [0, 1]
(quantized to a 16-bit alpha channel).