pub trait ColorSpaceSignatureExt: Sized + Copy {
    // Required methods
    fn channels(self) -> u32;
    fn pixel_type(self) -> PixelType;
}

Required Methods§

source

fn channels(self) -> u32

Returns channel count for a given color space.

Returns 3 on error (sic).

source

fn pixel_type(self) -> PixelType

Converts from ICC color space notation (LCMS PDF Table 10) to Little CMS color space notation (LCMS PDF Table 36).

Object Safety§

This trait is not object safe.

Implementors§