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

impl StructuralPartialEq for SrgbRenderingIntent

Auto Trait Implementations

impl Freeze for SrgbRenderingIntent

impl RefUnwindSafe for SrgbRenderingIntent

impl Send for SrgbRenderingIntent

impl Sync for SrgbRenderingIntent

impl Unpin for SrgbRenderingIntent

impl UnsafeUnpin for SrgbRenderingIntent

impl UnwindSafe for SrgbRenderingIntent

Blanket Implementations

impl<T> Any for SrgbRenderingIntent where T: 'static + ?Sized,

impl<T> Borrow<T> for SrgbRenderingIntent where T: ?Sized,

impl<T> BorrowMut<T> for SrgbRenderingIntent where T: ?Sized,

impl<T> CloneToUninit for SrgbRenderingIntent where T: Clone,

impl<T> From<T> for SrgbRenderingIntent

impl<T> ToOwned for SrgbRenderingIntent where T: Clone,

impl<T, U> Into<U> for SrgbRenderingIntent where U: From<T>,

impl<T, U> TryFrom<U> for SrgbRenderingIntent where U: Into<T>,

impl<T, U> TryInto<U> for SrgbRenderingIntent where U: TryFrom<T>,