Trait lcms2::CIEXYZExt [−][src]
Chromatic adaptation
Required methods
fn adapt_to_illuminant(
&self,
source_white_point: &CIEXYZ,
illuminant: &CIEXYZ
) -> Option<CIEXYZ>
[src]
&self,
source_white_point: &CIEXYZ,
illuminant: &CIEXYZ
) -> Option<CIEXYZ>
Adapts a color to a given illuminant. Original color is expected to have
a source_white_point
white point.
fn to_lab(&self, white_point: &CIEXYZ) -> CIELab
[src]
Colorimetric space conversion.
fn from_encoded(icc: &[u16; 3]) -> Self
[src]
Decodes a XYZ value, encoded on ICC convention