Enum image::ColorType 
            
                [−]
            
        [src]
pub enum ColorType {
    Gray(u8),
    RGB(u8),
    Palette(u8),
    GrayA(u8),
    RGBA(u8),
}An enumeration over supported color types and their bit depths
Variants
Gray | Pixel is grayscale  | |
RGB | Pixel contains R, G and B channels  | |
Palette | Pixel is an index into a color palette  | |
GrayA | Pixel is grayscale with an alpha channel  | |
RGBA | Pixel is RGB with an alpha channel  |