pub trait Decoder<P: Pixel, R: Read> {
type Sequence: FrameIterator<P>;
fn decode(&mut self, stream: R) -> Result<Image<P>>;
fn decode_sequence(&mut self, stream: R) -> Result<Self::Sequence>;
}Expand description
Low-level decoder interface around an image format.
Required Associated Types
type Sequence: FrameIterator<P>
type Sequence: FrameIterator<P>
The type of the iterator returned by decode_sequence.