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