Skip to main content

decode

Function decode 

Source
pub fn decode(path: &Path) -> Result<DynamicImage, ThumbError>
Expand description

Decodes a raster image, applying its EXIF orientation. Sniffs the format from content, so it also reads Eagle’s WebP-in-.png thumbnails.