Enum SrgbRenderingIntent
#[repr(u8)]
pub enum SrgbRenderingIntent
The rendering intent for an sRGB image.
Presence of this data also indicates that the image conforms to the sRGB color space.
Variants
-
Perceptual = 0 For images preferring good adaptation to the output device gamut at the expense of colorimetric accuracy, such as photographs.
-
RelativeColorimetric = 1 For images requiring colour appearance matching (relative to the output device white point), such as logos.
-
Saturation = 2 For images preferring preservation of saturation at the expense of hue and lightness, such as charts and graphs.
-
AbsoluteColorimetric = 3 For images requiring preservation of absolute colorimetry, such as previews of images destined for a different output device (proofs).
Implementations
impl SrgbRenderingIntent
fn encode<W: Write>(self, w: &mut W) -> Result<(), EncodingError>
Trait Implementations
impl Clone for SrgbRenderingIntent
fn clone(&self) -> Self
impl Copy for SrgbRenderingIntent
impl Debug for SrgbRenderingIntent
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for SrgbRenderingIntent
impl PartialEq for SrgbRenderingIntent
fn eq(&self, other: &Self) -> bool