load_image

Function load_image 

Source
pub fn load_image(
    file: &(String, PathBuf),
    format: ImageFormat,
) -> Result<DynamicImage, Error>
Expand description

Load an image from the specified file as the specified format.

Get the image fromat with guess_format().