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(u8)

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

Trait Implementations

impl Copy for ColorMode
[src]

impl Clone for ColorMode
[src]

fn clone(&self) -> ColorMode

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for ColorMode
[src]

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

Formats the value using the given formatter.