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();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();