Enum jpeg_decoder::PixelFormat [−][src]
pub enum PixelFormat { L8, RGB24, CMYK32, }
An enumeration over combinations of color spaces and bit depths a pixel can have.
Variants
Luminance (grayscale), 8 bits
RGB, 8 bits per channel
CMYK, 8 bits per channel
Implementations
impl PixelFormat
[src]
impl PixelFormat
[src]pub fn pixel_bytes(&self) -> usize
[src]
Determine the size in bytes of each pixel in this format
Trait Implementations
impl Clone for PixelFormat
[src]
impl Clone for PixelFormat
[src]fn clone(&self) -> PixelFormat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<PixelFormat> for PixelFormat
[src]
impl PartialEq<PixelFormat> for PixelFormat
[src]