Function image::imageops::resize
[-] [+]
[src]
pub fn resize<I: GenericImage + 'static>(image: &I, nwidth: u32, nheight: u32, filter: FilterType) -> ImageBuffer<Pixel, Vec<<Pixel as Pixel>::Subpixel>> where Pixel: 'static, <Pixel as Pixel>::Subpixel: 'static
Resize the supplied image to the specified dimensions
nwidth
and nheight
are the new dimensions.
filter
is the sampling filter to use.