Struct gif::Decoder [] [src]

pub struct Decoder<R: Read> {
    // some fields omitted
}

GIF decoder

Methods

impl<R: Read> Decoder<R>
[src]

fn new(r: R) -> Decoder<R>

Creates a new decoder builder

fn read_info(self) -> Result<Reader<R>, DecodingError>

Reads the logical screen descriptor including the global color palette

Returns a Reader. All decoder configuration has to be done beforehand.