pub fn save_img(img: &DynamicImage, path: &str) -> Result<(), Error>Expand description
Save an image to disk
use image_toolbox::{save_img};
use image::{DynamicImage};
// make a new 500X500 image
let img = DynamicImage::new_rgba8(500,500);
// save the image
save_img(&img,"./test/empty_img.jpg").unwrap();