pub fn resize<I: GenericImage + 'static>(
) -> ImageBuffer<I::Pixel, Vec<<I::Pixel as Pixel>::Subpixel>> where
<I::Pixel as Pixel>::Subpixel: 'static,
Resize the supplied image to the specified dimensions.
nheight are the new dimensions.
filter is the sampling filter to use.