Wire DPI setting from resize step through to processing job

This commit is contained in:
2026-03-06 15:41:25 +02:00
parent 322f6440dd
commit d74fd0abc0
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,
}
}