mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
The colr nclx primaries and transfer were dropped, so a 10-bit BT.2020 HLG HEIC opened as if its samples were sRGB. photocraft-heif now returns the nclx (inherited from grid tiles like the ICC profile), codecs decodes PQ and HLG to linear light in 32-bit float (BT.2100 inverse OETF + OOTF at 1000 cd/m2, 203 cd/m2 diffuse white = 1.0), and io tags the document with the matching profile from the new photocraft_cms::builtin::cicp_rgb. BT.709/sRGB SDR files are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>