strukturag / libheif

libheif is an HEIF and AVIF file format decoder and encoder.
Other
1.76k stars 304 forks source link

uncompressed: correctly set chroma and format #1252

Closed bradh closed 3 months ago

bradh commented 3 months ago

This fixes incorrect bit depth and format display for the uncompressed codec with data other than YCbCr.

This also shows up in the API, and hits some no-longer-valid assumptions in GDAL for formats like monochrome.