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