favy::resample
pub fn nearest(source: &DynamicImage, size: u32) -> Result<DynamicImage, Error>
Nearest-Neighbor resampling filter.