[][src]Function image_toolbox::load_img

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

Load any type of image uses DynamicImage type.

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