@derekdreery HI, yes indeed the modul/crate images is a little confusing to use. But I'm happy to have an modul/crate that handle the most popular image formats and gives me some little functions/methods to manipulate this images. I think in should use the issues on Github:).
Hello,
i have found the solution. Why imageops only have overay functions i have logical used imageops for resizing, now i use DynamicImage directly for resizing and imageops only for overlay.
let mut img_png2 = img_png.resize(220,220,FilterType::Lanczos3);
imageops::overlay(&mut img_bg, &img_png2, 18, 18);
@derekdreery I recommend the Github-Issues for this special crate, he has an special Question Issue and has annouced a new version of image that resolve some issues.