Enum gif::ColorOutput [] [src]

#[repr(u8)]
pub enum ColorOutput { RGBA, Indexed, }

Output mode for the image data

Variants

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.

The decoder returns the raw indexed data.

Trait Implementations

impl PartialEq for ColorOutput
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ColorOutput
[src]

Formats the value using the given formatter.

impl<R: Read> Parameter<Decoder<R>> for ColorOutput
[src]

Result type of set_param.

Sets self as a parameter of Object.