pub fn load_image(path: &Path) -> Option<DynamicImage>Expand description
Decode an image file to a DynamicImage, or None on any failure (missing,
unreadable, or a format no decoder covers). SVG is rasterized with resvg
(load_svg); every raster format goes through the image codec crate.