pub unsafe extern "C" fn heif_image_get_primary_height(
    img: *const heif_image
) -> c_int
Expand description

Get the height of the main channel.

This is the Y channel in YCbCr or mono, or any in RGB.

@param img the image to get the primary height for @return the height in pixels