mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-14 19:26:51 -04:00
* OpenEXR/HDR export: linearize grayscale documents too Fixes #2386. The EXR/HDR branch of export_flat converted RGB images to linear sRGB but left gray ones as stored, so an sGray #808080 was written as 0.502 instead of 0.216. Gray images are now converted from their profile (sGray when untagged) to linear gray. An untagged grayscale OpenEXR opens tagged linear gray (an EXR Y channel is linear luminance), and the open policy keeps that profile without a mismatch prompt, as it already does for linear sRGB. * contributors: add itsF4LCON --------- Co-authored-by: Brandon Thomas <[email protected]>