Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Merge PR #3402: RAW.colour: fit the per-file look on the vignetting-corrected sensor

aiongg35d2fc957bfd
diff --cc crates/engine/src/camera_preview.rs
index c56e3dc31,ed9aa98ef..014a74408
--- a/crates/engine/src/camera_preview.rs
+++ b/crates/engine/src/camera_preview.rs
@@@ -79,8 -79,9 +79,11 @@@ use tone::{HighlightCheck, ToneFit, fit
/// a tone-only fallback for near-black scenes with too few colour pairs (#1587); DNG tone fitting uses a
/// lens-corrected proxy when the file carries lens opcodes; validated A7CR distortion, including the lens data
/// stored with each smart preview.
+/// 13: tone curves no steeper than a log-log slope of 4 between knots (#1904).
+/// 13: the Canon CR3/CR2 camera JPEG read in the colour space of the Canon maker note (#2654).
+ /// 13: the sensor proxy of every per-file fit gets the embedded vignetting correction the render applies (Fujifilm
+ /// RAF; other makes with a lens database), so the render no longer applies it twice, at the position a lens warp samples;
+ /// the warped candidate's alignment leaves out the pixels outside the sensor instead of reading them as black.
pub const LOOK_VERSION: u32 = 13;
#[derive(Clone, Debug)]
diff --cc docs/raw-parity.md
index 74d27d72c,e50f358e7..f23e34db1
--- a/docs/raw-parity.md
+++ b/docs/raw-parity.md
@@@ -1,6 -1,6 +1,6 @@@
# RAW parity: cameras, formats, demosaic, colour and lens profiles
- > **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-26 · **Change:** patch (bundled camera profile count 5 → 9) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6 (Camera Raw 18.7)
-> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-30 · **Change:** patch (RAF camera look no longer applies the embedded vignetting correction twice) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6 (Camera Raw 18.7)
++=======
Raw processing is the deepest single dimension of Lightroom parity: a photographer whose camera
does not decode, or decodes with the wrong colour, cannot switch. This document measures it model by