Improve Images, Compress, Output, Workflow steps

This commit is contained in:
2026-03-06 12:22:15 +02:00
parent 457f132f51
commit 283206c411
4 changed files with 173 additions and 50 deletions

View File

@@ -213,9 +213,14 @@ fn apply_preset_to_config(cfg: &mut JobConfig, preset: &Preset) {
cfg.metadata_enabled = true;
cfg.metadata_mode = MetadataMode::KeepAll;
}
Some(MetadataConfig::Custom { .. }) => {
Some(MetadataConfig::Custom { strip_gps, strip_camera, strip_software, strip_timestamps, strip_copyright }) => {
cfg.metadata_enabled = true;
cfg.metadata_mode = MetadataMode::StripAll;
cfg.metadata_mode = MetadataMode::Custom;
cfg.strip_gps = *strip_gps;
cfg.strip_camera = *strip_camera;
cfg.strip_software = *strip_software;
cfg.strip_timestamps = *strip_timestamps;
cfg.strip_copyright = *strip_copyright;
}
None => {
cfg.metadata_enabled = false;