[−][src]Function resize::resize
pub fn resize<Format: PixelFormatBackCompatShim>(
src_width: usize,
src_height: usize,
dest_width: usize,
dest_height: usize,
pixel_format: Format,
filter_type: Type,
src: &[Format::Subpixel],
dst: &mut [Format::Subpixel]
)
👎 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.