Struct GifDecoder
pub struct GifDecoder<R: Read> { /* private fields */ }
GIF decoder
Implementations
impl<R: Read> GifDecoder<R>
fn new(r: R) -> ImageResult<GifDecoder<R>>Creates a new decoder that decodes the input steam
r
Trait Implementations
impl<'a, R: BufRead + Seek + 'a> AnimationDecoder<'a> for GifDecoder<R>
fn loop_count(&self) -> LoopCountfn into_frames(self) -> Frames<'a>
impl<R: BufRead + Seek> ImageDecoder for GifDecoder<R>
fn dimensions(&self) -> (u32, u32)fn color_type(&self) -> ColorTypefn set_limits(&mut self, limits: Limits) -> ImageResult<()>fn read_image(self, buf: &mut [u8]) -> ImageResult<()>fn icc_profile(&mut self) -> ImageResult<Option<Vec<u8>>>fn xmp_metadata(&mut self) -> ImageResult<Option<Vec<u8>>>fn read_image_boxed(self: Box<Self>, buf: &mut [u8]) -> ImageResult<()>