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