LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge PR #1344
bflatastic14b111f6f54b
diff --cc docs/parity-checklist.mdindex d1feaf966,2d91095b2..f8c85beac--- a/docs/parity-checklist.md+++ b/docs/parity-checklist.md@@@ -194,7 -190,7 +194,8 @@@ differences and missing bindings are i| LR-EDIT-LIGHT-CURVE-TAT | Drag-on-image curve adjust | P1 | ✅ | `cmd:develop.targeted` (`target: curve`) | || LR-EDIT-COLOR-WB-PRESET | White-balance presets | P0 | ✅ | `cmd:develop.wb` | || LR-EDIT-COLOR-WB-PICKER | White-balance eyedropper | P0 | ✅ | `cmd:tool.wbPicker`, `cmd:develop.wbPick`, `crates/ui-egui/src/tests_wb_selector.rs` | the Edit panel's selector button does what W does (from Compare, Survey or the grid it opens the photo in Detail); no magnified loupe while picking |+| LR-EDIT-COLOR-TEMP | Temperature | P0 | ✅ | `ctl:wb.temp`, `crates/pipeline/src/local.rs` (`wb_matrix_for`, `legacy_white`), `crates/raw/src/color.rs` (`rebalance`), `crates/raw/src/spectral.rs` (`find_camera`), `crates/catalog/src/model.rs` (`relative_wb_camera`), `crates/develop/src/controls.rs` (`ControlSpec::position`) | Kelvin (2000–50000 K, As Shot read from the file) on raws with colour matrices: in the file (DNG: re-developed for the chosen white through the camera's own matrices, camera-space white balance as Lightroom; the eyedropper / Auto invert the same model) or measured for the camera model (`lightcraft_raw::spectral`, 52 bodies, issue #730: the matrices turn the as-shot multipliers into Kelvin and the slider back, the look stays the file's fit, and the picture is adapted from the as-shot white, Bradford); raws without matrices anywhere and rendered files use the relative −100..+100 scale (6500 K / 0 = as shot). The Kelvin slider's track is Lightroom's: 7000 K in the middle, 2000–7000 K evenly on the left half, logarithmic up to 50000 K on the right (within 2 % of positions measured in Lightroom Classic), for drawing, clicks and drags; wheel / arrow-key nudges and Quick Develop still step a fixed 50 / 100 / 500 K; the relative slider stays linear. Settings written on the relative scale before a camera's matrices reached it keep their look (`WbScale`). Not verified against Lightroom's Kelvin: on the ILCE-7M3 the matrices read 7–10 % below Sony's dial (issue #730), and whether the matrices or the dial are off is open |+ | LR-EDIT-COLOR-TEMP | Temperature | P0 | ✅ | `ctl:wb.temp`, `crates/pipeline/src/local.rs` (`wb_matrix_for`, `legacy_white`), `crates/raw/src/color.rs` (`rebalance`), `crates/raw/src/spectral.rs` (`find_camera`), `crates/raw/src/kelvin_presets.rs`, `crates/catalog/src/model.rs` (`relative_wb_camera`) | Kelvin (2000–50000 K, As Shot read from the file) on raws with colour matrices: in the file (DNG: re-developed for the chosen white through the camera's own matrices, camera-space white balance as Lightroom; the eyedropper / Auto invert the same model) or measured for the camera model (`lightcraft_raw::spectral`, 52 bodies, issue #730: the matrices turn the as-shot multipliers into Kelvin and the slider back, the look stays the file's fit, and the picture is adapted from the as-shot white, Bradford), or read from the camera's own white-balance presets (Sony ARW `SR2SubIFD`, Sony ILCA-99M2, ILCA-77M2, SLT-A33, DSC-RX10, ILCE-3500, ILCE-7S: Sony's Kelvin dial reads back within 0.3 % on 5 settings of 4 bodies); raws without matrices or presets anywhere and rendered files use the relative −100..+100 scale (6500 K / 0 = as shot). Settings written on the relative scale before a camera's matrices reached it keep their look (`WbScale`). Not verified against Lightroom's Kelvin: on the ILCE-7M3 the matrices read 7–10 % below Sony's dial (issue #730), and whether the matrices or the dial are off is open || LR-EDIT-COLOR-TINT | Tint | P0 | ✅ | `ctl:wb.tint`, `docs/tint-direction.md` | DNG / Lightroom sign: negative (left) adds green, positive (right) magenta; XMP `crs:Tint` values render as in Lightroom (issue #188); CPU/GPU regression tests || LR-EDIT-COLOR-VIBRANCE | Vibrance | P0 | ✅ | `ctl:color.vibrance` | || LR-EDIT-COLOR-SATURATION | Saturation | P0 | ✅ | `ctl:color.saturation` | |diff --cc docs/whats-new.mdindex 309141241,902075944..6b180060e--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -1,37 -1,12 +1,44 @@@# What's new in LightCraft+## 2026-10-13++### Slider drags on large raws+- Dragging a slider no longer re-renders the edited photo's filmstrip thumbnail on every frame; it follows once you+ let go. On a 64 MP raw the first of those renders decoded the whole file again, which held up the loupe's+ previews for up to a second.+- A thumbnail of the photo open in Detail is made from its already decoded preview instead of decoding the file+ again.+## 2026-10-12++### Canon CR2 highlights+- Blown highlights in CR2 files from the Canon EOS 50D, 60D, 450D (Rebel XSi), 500D (Rebel T1i), 550D (Rebel T2i),+ 1200D (Rebel T5) and 100D (Rebel SL1) now count as clipped (issue #1272). They used to stop at 81–98% of white, so+ highlight recovery missed them and, darkened, they took a colour cast instead of going neutral grey.+## 2026-10-12++### Pentax raws without black borders+- Raws from the Pentax KP, KF, K-3 Mark III (and Monochrome), K-70, K-1, K-1 Mark II, K-S1, K-S2 and 645Z no longer+ show a black (or, on the 645Z, white) band along one or more edges (issue #1271). The sensor's masked border is+ left out, so these photos come out a little smaller, closer to the camera's own JPEG. Crops and masks on photos+ edited earlier may shift by a few pixels.+## 2026-10-12++### Camera-look deep shadows++- The starting look fitted from a raw's camera JPEG now uses its darkest tones too (issue #1307).+ Photos with deep shadows no longer have to extend the first measured tone in a straight line to black.+ Existing smart previews are refreshed when their originals are online, and cached renders are redrawn.+### Slider drags follow the pointer more closely+- With a GPU, a slider drag's preview is drawn in the same frame as the slider moves instead of one frame later,+ when the preview renders in a few milliseconds (it waits at most 40 % of a frame for it; slower renders, such as+ on the CPU, are not waited for).+ ## 2026-10-12++ ### Kelvin white balance for more Sony cameras+ - Sony ILCA-99M2, ILCA-77M2, SLT-A33, DSC-RX10, ILCE-3500 and ILCE-7S raws now show white balance in Kelvin too,+ read from the white-balance presets the camera stores in every ARW: a photo shot at 3400 K on the camera reads+ 3396 K, one on the Shade preset 7493 K. As for #730, only the numbers change: edits made on the old relative+ scale keep their look, and As Shot shows the real temperature once the file is opened.## 2026-10-11