Function convert

Source
pub fn convert(img: DynamicImage, algorithm: Algorithm) -> DynamicImage