Struct png::Decoder [] [src]

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

PNG Decoder

Methods

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

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

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

Reads all meta data until the first IDAT chunk

Trait Implementations

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

fn set<T: Parameter<Self>>(&mut self, value: T) -> &mut Self