Function retroimg::expand

source ·
pub fn expand<I>(
    img: &I,
    nwidth: u32,
    nheight: u32
) -> ImageBuffer<I::Pixel, Vec<<I::Pixel as Pixel>::Subpixel>>where
    I: GenericImage + 'static,
Expand description

This is just another name for a nearest neighbor resize.

Makes it look like it has nice, large pixels.