Enum ColorOutput
#[repr(u8)]
pub enum ColorOutput
Output mode for the image data
Variants
-
RGBA = 0 The decoder expands the image data to 32bit RGBA. This affects:
- The buffer buffer of the
Framereturned byDecoder::read_next_frame. Decoder::fill_buffer,Decoder::buffer_sizeandDecoder::line_length.
- The buffer buffer of the
-
Indexed = 1 The decoder returns the raw indexed data.
Trait Implementations
impl Clone for ColorOutput
fn clone(&self) -> Self
impl Copy for ColorOutput
impl Debug for ColorOutput
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl PartialEq for ColorOutput
fn eq(&self, other: &Self) -> bool