Enum gif::ColorOutput
source · #[repr(u8)]
pub enum ColorOutput {
RGBA,
Indexed,
}
Expand description
StreamingDecoder configuration parameters 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 byDecoder::read_next_frame
. Decoder::fill_buffer
,Decoder::buffer_size
andDecoder::line_length
.
Indexed
The decoder returns the raw indexed data.
Trait Implementations§
source§impl Clone for ColorOutput
impl Clone for ColorOutput
source§fn clone(&self) -> ColorOutput
fn clone(&self) -> ColorOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more