Function resize::resize[][src]

pub fn resize<Format: PixelFormat>(
    src_width: usize,
    src_height: usize,
    dest_width: usize,
    dest_height: usize,
    pixel_format: Format,
    filter_type: Type,
    src: &[Format::InputPixel],
    dst: &mut [Format::OutputPixel]
) -> Result<()>
👎 Deprecated:

Use resize::new().resize()

Use new().resize() instead.

Resize image data to the new dimension in a single step.

NOTE: If you need to resize to the same dimension multiple times, consider creating an resizer instance since it’s faster.