libheif
libheif copied to clipboard
Cannot decode into >10 bit depth interleaved
When calling heif_decode_image with heif_chroma_interleaved_RRGGBB_LE or similar, there is no decoding option for output bit depth. This means that when HeifContext::decode_image_user calls heif::convert_colorspace, it will pass in a bpp of 0 which is then set to 10 by the interleaved check in that function. This means we cannot request interleaved with a bit depth of 12 or 16.
Do you have a sample image that reproduces this?