pub fn resize_with(
img: DynamicImage,
max: u32,
filter: FilterType,
) -> DynamicImageExpand description
resize with an explicit filter.
Like Eagle, an image more than twice the target size is first halved repeatedly (never below the target) while it is over 1.5 times the target, and only then drawn at the final size.