pub unsafe extern "C" fn heif_decode_image(
    in_handle: *const heif_image_handle,
    out_img: *mut *mut heif_image,
    colorspace: heif_colorspace,
    chroma: heif_chroma,
    options: *const heif_decoding_options
) -> heif_error
Expand description

Decode an heif_image_handle into the actual pixel image and also carry out all geometric transformations specified in the HEIF file (rotation, cropping, mirroring).

If colorspace or chroma is set to heif_colorspace_undefined or heif_chroma_undefined, respectively, the original colorspace is taken. Decoding options may be NULL. If you want to supply options, always use heif_decoding_options_alloc() to get the structure.