Struct TiffDecoder
pub struct TiffDecoder<R>
where
R: BufRead + Seek, { /* private fields */ }
Decoder for TIFF images.
Implementations
impl<R> TiffDecoder<R>
where
R: BufRead + Seek,
fn new(r: R) -> Result<TiffDecoder<R>, ImageError>Create a new
TiffDecoder.
Trait Implementations
impl<R: BufRead + Seek> ImageDecoder for TiffDecoder<R>
fn dimensions(&self) -> (u32, u32)fn color_type(&self) -> ColorTypefn original_color_type(&self) -> ExtendedColorTypefn icc_profile(&mut self) -> ImageResult<Option<Vec<u8>>>fn xmp_metadata(&mut self) -> ImageResult<Option<Vec<u8>>>fn orientation(&mut self) -> ImageResult<Orientation>fn set_limits(&mut self, limits: Limits) -> ImageResult<()>fn read_image(self, buf: &mut [u8]) -> ImageResult<()>fn read_image_boxed(self: Box<Self>, buf: &mut [u8]) -> ImageResult<()>