Function libheif_sys::heif_image_get_primary_width

source ยท
pub unsafe extern "C" fn heif_image_get_primary_width(
    img: *const heif_image
) -> c_int
Expand description

Get the width 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 width for @return the width in pixels