Enum image::gif::ColorMode [] [src]

pub enum ColorMode {
    TrueColor,
    Indexed(u8),
}

The color mode the encoder will use to encode the image.

Variants

TrueColor

Image will be encoded in multiple frames if more than 256 colors are present

Indexed

Image will be reduced to 64 < = n <= 256 colors

Trait Implementations

Derived Implementations

impl Copy for ColorMode

impl Clone for ColorMode

fn clone(&self) -> ColorMode

fn clone_from(&mut self, source: &Self)

impl Debug for ColorMode

fn fmt(&self, __arg_0: &mut Formatter) -> Result