mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 17:37:14 +00:00
The D4 profile's saturation level of 15520 was measured on 14-bit files but applied to the 12-bit files the body also writes, whose samples are the 14-bit values shifted right by two. 12-bit D4 NEFs developed about 2.6 stops darker than the same scene at 14 bits, with no warning. The profile now records the depth its level was measured at, and cameras::apply takes the stored sample depth: 14-bit files keep 15520, 12-bit files get 3880. A synthetic D4-sized NEF at both depths must develop within 0.2 stop (it was 2.5 stops apart before); on the public 12-bit D4 files the difference to the 14-bit twin is now within 0.02 stop. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rj8vs4QyUES3uwgX6SuGGh