pub unsafe extern "C" fn heif_image_get_bits_per_pixel_range(
    arg1: *const heif_image,
    channel: heif_channel
) -> c_int
Expand description

Get the number of bits per pixel in the given image channel. This function returns the number of bits used for representing the pixel value, which might be smaller than the number of bits used in memory. For example, in 12bit HDR images, this function returns ‘12’, while still 16 bits are reserved for storage. For interleaved RGBA with 12 bit, this function also returns ‘12’, not ‘48’ or ‘64’ (heif_image_get_bits_per_pixel returns 64 in this case).