Wire DPI setting from resize step through to processing job

Add output_dpi field to JobConfig, ProcessingJob, and Preset.
Connect the DPI SpinRow in the resize step's advanced options to
update the config value.
This commit is contained in:
2026-03-06 15:41:25 +02:00
parent eb8da4b3e9
commit 1d33be1e3d
4 changed files with 12 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ pub struct ProcessingJob {
pub preserve_directory_structure: bool,
pub progressive_jpeg: bool,
pub avif_speed: u8,
pub output_dpi: u32,
}
impl ProcessingJob {
@@ -47,6 +48,7 @@ impl ProcessingJob {
preserve_directory_structure: false,
progressive_jpeg: false,
avif_speed: 6,
output_dpi: 72,
}
}

View File

@@ -44,6 +44,7 @@ impl Preset {
preserve_directory_structure: false,
progressive_jpeg: false,
avif_speed: 6,
output_dpi: 72,
}
}