[−][src]Trait image::ImageDecoderExt
ImageDecoderExt trait
Required methods
fn read_rect_with_progress<F: Fn(Progress)>(
&mut self,
x: u32,
y: u32,
width: u32,
height: u32,
buf: &mut [u8],
progress_callback: F
) -> ImageResult<()>
&mut self,
x: u32,
y: u32,
width: u32,
height: u32,
buf: &mut [u8],
progress_callback: F
) -> ImageResult<()>
Read a rectangular section of the image, periodically reporting progress.
Provided methods
fn read_rect(
&mut self,
x: u32,
y: u32,
width: u32,
height: u32,
buf: &mut [u8]
) -> ImageResult<()>
&mut self,
x: u32,
y: u32,
width: u32,
height: u32,
buf: &mut [u8]
) -> ImageResult<()>
Read a rectangular section of the image.
Implementors
impl<'a, R: 'a + BufRead + Seek> ImageDecoderExt<'a> for HDRAdapter<R>
[src]
fn read_rect_with_progress<F: Fn(Progress)>(
&mut self,
x: u32,
y: u32,
width: u32,
height: u32,
buf: &mut [u8],
progress_callback: F
) -> ImageResult<()>
[src]
&mut self,
x: u32,
y: u32,
width: u32,
height: u32,
buf: &mut [u8],
progress_callback: F
) -> ImageResult<()>
impl<'a, R: 'a + Read + Seek> ImageDecoderExt<'a> for BmpDecoder<R>
[src]
fn read_rect_with_progress<F: Fn(Progress)>(
&mut self,
x: u32,
y: u32,
width: u32,
height: u32,
buf: &mut [u8],
progress_callback: F
) -> ImageResult<()>
[src]
&mut self,
x: u32,
y: u32,
width: u32,
height: u32,
buf: &mut [u8],
progress_callback: F
) -> ImageResult<()>