[][src]Function termimage::ops::load_image

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