pub trait ImageDecoderExt: ImageDecoder + Sized {
    fn read_rect_with_progress<F: Fn(Progress)>(
        &mut self,
        x: u64,
        y: u64,
        width: u64,
        height: u64,
        buf: &mut [u8],
        progress_callback: F
    ) -> ImageResult<()>; fn read_rect(
        &mut self,
        x: u64,
        y: u64,
        width: u64,
        height: u64,
        buf: &mut [u8]
    ) -> ImageResult<()> { ... } }
Expand description

ImageDecoderExt trait

Required Methods

Read a rectangular section of the image, periodically reporting progress.

Provided Methods

Read a rectangular section of the image.

Implementors