use crate::scale::traits::ScalingAlgorithm; use super::{e, DynImage}; impl + AsRef<[u8]>> DynImage { /// Scale this image with a given scaling algorithm. pub fn scale(&mut self, width: u32, height: u32) -> DynImage> { e!(self => |i| i.scale::(width, height)) } }