Function image::open [-] [+] [src]

pub fn open(path: &Path) -> ImageResult<DynamicImage>

Open the image located at the path specified. The image's format is determined from the path's file extension.