mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-29 20:48:33 -06:00
The Z5II has no colour matrices and its NEFs carry no preset table, so its Temp slider showed the relative -100..+100 scale. A small per-model table (crates/raw/src/kelvin_builtin.rs) gives five (Kelvin, multipliers) points that feed the existing KelvinPresets curve: the NEF decoder attaches them to ColorData::kelvin_presets and kelvin_presets::covers accepts the model. Points: as-shot WB_RBLevels of the body's own shots at Incandescent, Direct sunlight, Kelvin 5500 K, Cloudy and Shade, placed at the temperature the camera itself writes for each preset (maker note ColorTemperatureAuto: 3000, 5210, 5500, 5990, 8000 K). Fluorescent and flash are left out. Natural Auto (camera: 5030 K) reads back at 5036 K. Sources: own design on the existing kelvin_presets model; the camera's own stated temperatures; ExifTool Nikon tag-name documentation (prose), exiftool used as a black-box tool. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>