Skip to main content

decode

Function decode 

Source
pub fn decode(bytes: &[u8]) -> Result<Image, Error>
Expand description

Decodes the primary image of a HEIF/HEIC file, with its alpha channel if any, and applies the crop, rotation and mirror transforms stored in the file. Grid tiles are decoded in parallel on all available cores.