avif_parse

Function avif_parse 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn avif_parse( bytes: *const u8, bytes_len: usize, ) -> *const avif_data_t
Expand description

Parse AVIF image file and return results. Returns NULL if the file can’t be parsed.

Call avif_data_free on the result when done.