Struct aci_png::PngDecoder[][src]

pub struct PngDecoder<T: Read + Seek> { /* fields omitted */ }

Decoder for PNG/APNG.

Trait Implementations

impl<T> Decoder<T> for PngDecoder<T> where
    T: Read + Seek
[src]

Create a new decoder for this format. None is returned when the decoder can't handle data's format: try a different decoder. Read more

Decode a frame. None is returned if the file is corrupt, Some(true) if it succeeded, and Some(false) if it can't add anymore frames because the input file ended. audio and video should initially be set to None. Read more

Get the frame number (24 frames per second).

Set the frame number to seek forward or backwards.

Auto Trait Implementations

impl<T> Send for PngDecoder<T> where
    T: Send

impl<T> Sync for PngDecoder<T> where
    T: Sync