Struct png::Decoder
[−]
[src]
pub struct Decoder<R: Read> { // some fields omitted }
PNG Decoder
Methods
impl<R: Read> Decoder<R>
fn new(r: R) -> Decoder<R>
fn read_info(self) -> Result<(OutputInfo, Reader<R>), DecodingError>
Reads all meta data until the first IDAT chunk