Function avif_decode

Source
pub fn avif_decode(data: &[u8]) -> Result<DynamicImage, ImageError>
Expand description

Decode data from avif format, it supports rgb8, rgba8, rgb16 and rgba16.