Skip to content

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

Merge PR #607

Brandon Thomas6bf272220936
diff --cc crates/engine/src/media.rs
index 199adb119,b73d3f1de..8a3dc2497
--- a/crates/engine/src/media.rs
+++ b/crates/engine/src/media.rs
@@@ -62,7 -62,7 +62,7 @@@ impl SettingsHashes
}
/// Bump when the pipeline's output changes, to invalidate cached thumbnails.
- pub const RENDER_CACHE_VERSION: u64 = 25;
-pub const RENDER_CACHE_VERSION: u64 = 27;
++pub const RENDER_CACHE_VERSION: u64 = 26;
/// Thumbnails render at one of these long edges (so window/cell size changes reuse the cache).
pub const THUMB_SIZES: [usize; 4] = [128, 256, 384, 512];
diff --cc xtask/src/main.rs
index 52903362e,4e6332930..bf41eb106
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@@ -340,23 -340,12 +340,29 @@@ const RAW_SAMPLES: &[(&str, &str, &str)
"https://raw.pixls.us/data/Sony/ILCE-7M4/ILCE-7M4_DSC06676_FullFrame-LossLess-Compressed-Small.ARW",
"cbbd0930c7d8706dff84c68a2004454266e6fd0d8354f5f76a106b5d776e0223",
),
+ // ILCE-7CR (61 MP), one scene in three codings: lossless compressed L (2×2 CFA cells per LJ92 sample) and M
+ // (subsampled YCbCr), and compressed ARW2
+ (
+ "arw-sony-a7cr-lossless-l.arw",
+ "https://raw.pixls.us/data/Sony/ILCE-7CR/DSC00795.ARW",
+ "3e1642f3a1ae7c9f93228c5f09f27e362608e6a4ca1b3e5d8dd9eb8fae576997",
+ ),
+ (
+ "arw-sony-a7cr-lossless-m.arw",
+ "https://raw.pixls.us/data/Sony/ILCE-7CR/DSC00796.ARW",
+ "5bcba4acc52a5b902074581b4a2f5fb3c79ec56bd0fdc1746b9e2c0f9d3e9c88",
+ ),
+ (
+ "arw-sony-a7cr-compressed.arw",
+ "https://raw.pixls.us/data/Sony/ILCE-7CR/DSC00798.ARW",
+ "f5096e8fbccf0842c8a57763cabd2836608f019eb7fd54f7b22260c2f5bc4da5",
+ ),
+ // a dusk sky clipped in green behind a poplar: the clipped-highlight colour of issue #523
+ (
+ "arw-sony-a7rm4-14bit-compressed.arw",
+ "https://raw.pixls.us/getfile.php/3480/nice/Sony%20-%20ILCE-7RM4%20-%2014bit%2014bit%20compressed%20%283:2%29.ARW",
+ "e6dafe42643f69ab9d1fd00414b7a1f5104df354bb589201600ac934b29b5e4a",
+ ),
// pre-2017 bodies: white balance only in the enciphered maker note, black level only in the SR2SubIFD (#148)
(
"arw-sony-rx100m3.arw",