pub fn decode(bytes: &[u8]) -> Result<DecodedImage, DecodeError>Expand description
Decode auto-detects the format from magic bytes and decodes.
pub fn decode(bytes: &[u8]) -> Result<DecodedImage, DecodeError>Decode auto-detects the format from magic bytes and decodes.