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().
pub fn load_image(
file: &(String, PathBuf),
format: ImageFormat,
) -> Result<DynamicImage, Error>Load an image from the specified file as the specified format.
Get the image fromat with guess_format().