[][src]Function resize::resize

pub fn resize<Pixel: PixelFormat>(
    src_width: usize,
    src_height: usize,
    dest_width: usize,
    dest_height: usize,
    pixel_format: Pixel,
    filter_type: Type,
    src: &[Pixel::Subpixel],
    dst: &mut [Pixel::Subpixel]
)

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.