Skip to main content

Module profile

Module profile 

Source
Expand description

ICC profiles: the parsed model, the reader (ICC.1:2001-04 v2 and ICC.1:2010 v4) and the connection of a profile to the PCS as evaluation stages.

Structs§

Lut
A parsed AToB/BToA tag: device-side and PCS-side values are normalised to [0, 1].
Profile
A parsed ICC profile.

Enums§

ColorSpace
Data colour space (header bytes 16..20).
LutKind
Encoding family of a LUT tag, which fixes how its PCS side is encoded.
Pcs
Which PCS a stage list ends in (float values: XYZ with Y = 1 for the white, or Lab L 0–100).
ProfileClass
Profile/device class (header bytes 12..16).

Constants§

SAME_COLORS_MAX_DELTA_E
Largest colour difference (CIE ΔE*ab) for which Profile::same_colors treats two profiles as one colour space: invisible, yet 20× what re-encoding a profile costs (sRGB as v2 tables against v4 parametric curves differs by 0.025). Moving sRGB’s red primary 2% costs 1.0.