Function load_img

Source
pub fn load_img(path: &str) -> Result<DynamicImage, ImageError>
Expand description

Load any type of image uses DynamicImage type.

use image_toolbox::{load_img};
 
let img = load_img("./test/bright_miami.jpg").unwrap();