LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge PR #533
Brandon Thomas6f323e01d90d
diff --cc crates/catalog/src/model.rsindex 176f0d5b6,d5273af2e..9825fa8ca--- a/crates/catalog/src/model.rs+++ b/crates/catalog/src/model.rs@@@ -349,13 -341,15 +349,14 @@@ impl Photo/// photographs (the engine's `camera_preview::file_local_look` covers the same formats; RWL and/// RAW are Leica's and the oldest Panasonic bodies' names for RW2 files).pub fn relative_wb(&self) -> bool {- self.develops_raw()- && ["ARW", "NEF", "NRW", "RW2", "RWL", "RAW", "RAF", "CR3", "CR2", "PEF"].iter().any(|f| self.format.eq_ignore_ascii_case(f))+ self.develops_raw() && relative_wb_format(&self.format)}/// The develop settings import gave this photo: [`Photo::camera_defaults`], or the user's- /// default preset applied on top of them ([`Photo::import_look`]).+ /// default preset applied on top of them ([`Photo::import_look`]). Like the camera defaults,+ /// in the photo's own rendering process.pub fn import_defaults(&self) -> DevelopSettings {match &self.import_look {- Some(l) => (**l).clone(),+ Some(l) => DevelopSettings { process: self.develop.process, ..(**l).clone() },None => self.camera_defaults(),}}diff --cc docs/lightroom-catalog-import.mdindex 31a0183d9,13c3f3a1b..0c18a6521--- a/docs/lightroom-catalog-import.md+++ b/docs/lightroom-catalog-import.md@@@ -38,14 -38,11 +38,16 @@@ WITHOUT ROWID or virtual table produceDevelop settings reuse the existing XMP/preset mapper. Supported sliders, curves and supportedmask structures remain editable, but this is approximate rendering: camera profiles, Adobe AImodels, some masking/retouch fields and process-version algorithms are not reproduced. Unmapped- fields are reported. When a recovery archive is saved, it retains source settings/history/snapshots+ fields are reported. Lightroom's `ProcessVersion` is not mapped: newly imported photos are on+ LightCraft's latest rendering process, and photos already in the library keep theirs+ ([process-versions.md](process-versions.md)). When a recovery archive is saved, it retains source settings/history/snapshotsand original smart-collection rules. Smart collections become regular albums with currentmembership. Archived history and snapshots are source data, not native LightCraft history yet.+A Custom white balance on a raw LightCraft develops relative to its as-shot look (ARW, NEF, RW2,+RAF, CR3, CR2, PEF, SRW; Lightroom names them all `RAW`) can't be taken as Kelvin: the catalog keeps no+as-shot white for Custom photos, so the photo stays As Shot and `Temperature, Tint` are reported+(issue #510; a DNG keeps the Kelvin value, and an XMP packet with `crs:AsShotTemperature` is+shifted by the same mired difference, see [xmp-interop.md](xmp-interop.md)).Lightroom's `-999999` deferred-adjustment sentinel is omitted from both catalog and XMP mappings;it is reported, included in any saved archive, and never clamped into a real slider value. Deferred Adobe Auto Toneis not evaluated by the importer; LightCraft's Auto control remains available after migration.