Skip to main content

decode

Function decode 

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

Decode auto-detects the format from magic bytes and decodes.