Expand description
P7.2 — Gamut / object-colour solid + closest-point gamut mapping. P7.2 — Gamut / object-colour solid + closest-point gamut mapping.
Enums§
- Gamut
Error - Gamut mapping error.
Functions§
- gamut_
map_ clamp - Map an out-of-gamut colour to the closest in-gamut colour.
- gamut_
map_ idempotent - Interior idempotence: an in-gamut colour maps to itself.
- is_
in_ gamut - Check if a colour is in the sRGB gamut (all linear sRGB channels in [0,1]).
- linear_
rgb_ is_ in_ gamut - Check if a linear sRGB colour is in gamut.
- linear_
srgb_ to_ xyz - Convert linear sRGB to CIE XYZ (inverse of
xyz_to_linear_srgb).