Skip to main content

Module ext

Module ext 

Source
Expand description

Extension traits that add conversion methods to zenpixels interchange types.

These traits bridge the type–conversion boundary: the types live in zenpixels (no heavy deps), while the conversion math lives here (depends on linear-srgb).

Traits§

ColorPrimariesExt
Adds XYZ matrix lookups to ColorPrimaries.
PixelBufferConvertExt
Adds format conversion methods to type-erased PixelBuffer.
TransferFunctionExt
Adds scalar EOTF/OETF methods to TransferFunction.