Struct FarbfeldDecoder
pub struct FarbfeldDecoder<R: Read> { /* private fields */ }
farbfeld decoder
Implementations
impl<R: Read> FarbfeldDecoder<R>
fn new(buffered_read: R) -> ImageResult<FarbfeldDecoder<R>>Creates a new decoder that decodes from the stream
r
Trait Implementations
impl<R: Read + Seek> ImageDecoderRect for FarbfeldDecoder<R>
fn read_rect(&mut self, x: u32, y: u32, width: u32, height: u32, buf: &mut [u8], row_pitch: usize) -> ImageResult<()>
impl<R: Read> ImageDecoder for FarbfeldDecoder<R>
fn dimensions(&self) -> (u32, u32)fn color_type(&self) -> ColorTypefn read_image(self, buf: &mut [u8]) -> ImageResult<()>fn read_image_boxed(self: Box<Self>, buf: &mut [u8]) -> ImageResult<()>