avif_parse::c_api

Function avif_parse

source
#[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.