3 Commits
Author SHA1 Message Date
gronod 5c2c90f6e0 Merge pull request 'fix: missing ProfilingPreset fields for v0.7.0 build' (#182) from fix/v0.7.0-build into development 2026-09-02 01:46:55 +01:00
gronod c917f059b1 fix: missing ProfilingPreset fields for v0.7.0 build 2026-09-02 01:46:35 +01:00
gronod a66b98fd9a Merge pull request 'chore: release v0.7.0' (#181) from development into main
Build Windows Packages / Build Windows (push) Failing after 2m41s
Build Linux Packages / Build Linux (push) Failing after 6m10s
2026-09-02 01:37:19 +01:00
+20
View File
@@ -99,6 +99,11 @@ pub fn get_default_presets() -> Vec<ProfilingPreset> {
device_power: None,
random_seed: Some(1),
no_randomize: Some(false),
colprof_fwa: Some("D50".to_string()),
colprof_illuminant: None,
colprof_observer: None,
colprof_input_viewing_cond: None,
colprof_output_viewing_cond: None,
},
ProfilingPreset {
id: "preset-hq-cmyk".to_string(),
@@ -128,6 +133,11 @@ pub fn get_default_presets() -> Vec<ProfilingPreset> {
device_power: None,
random_seed: Some(1),
no_randomize: Some(false),
colprof_fwa: Some("D50".to_string()),
colprof_illuminant: None,
colprof_observer: None,
colprof_input_viewing_cond: None,
colprof_output_viewing_cond: None,
},
ProfilingPreset {
id: "preset-draft-rgb".to_string(),
@@ -157,6 +167,11 @@ pub fn get_default_presets() -> Vec<ProfilingPreset> {
device_power: None,
random_seed: Some(1),
no_randomize: Some(false),
colprof_fwa: Some("D50".to_string()),
colprof_illuminant: None,
colprof_observer: None,
colprof_input_viewing_cond: None,
colprof_output_viewing_cond: None,
},
ProfilingPreset {
id: "preset-ultra-rgb".to_string(),
@@ -353,6 +368,11 @@ mod tests {
device_power: Some(1.2),
random_seed: Some(42),
no_randomize: Some(false),
colprof_fwa: Some("D50".to_string()),
colprof_illuminant: None,
colprof_observer: None,
colprof_input_viewing_cond: None,
colprof_output_viewing_cond: None,
};
let json = export_preset_json(preset.clone()).expect("Export failed");