[−][src]Function image::imageops::thumbnail
pub fn thumbnail<I, P, S>(
image: &I,
new_width: u32,
new_height: u32
) -> ImageBuffer<P, Vec<S>> where
I: GenericImage<Pixel = P>,
P: Pixel<Subpixel = S> + 'static,
S: Primitive + Enlargeable + 'static,
Resize the supplied image down to the specific dimensions.