Enum gif::ColorOutput [] [src]

pub enum ColorOutput {
    RGBA,
    Indexed,
}

Output mode for the image data

Variants

RGBA

The decoder expands the image data to 32bit RGBA. This affects:

  • The buffer buffer of the Frame returned by Reader::read_next_frame.
  • Reader::fill_buffer, Reader::buffer_size and Reader::line_length.
Indexed

The decoder returns the raw indexed data.

Trait Implementations

impl<R: Read> Parameter<Decoder<R>> for ColorOutput

type Result = ()

fn set_param(self, this: &mut Decoder<R>)

Derived Implementations

impl Debug for ColorOutput

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

impl PartialEq for ColorOutput

fn eq(&self, __arg_0: &ColorOutput) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool