pub fn is_avif(avif_bytes: &[u8]) -> bool
Expand description
Very efficiently detects AVIF files
returns true if the file header matches the AVIF type Does not necessarily confirm that the file can actually be decoded.
Generally requires no more than 64 bytes to make this determination.