Wire progressive JPEG, AVIF speed, and custom per-format quality to encoder
This commit is contained in:
@@ -21,6 +21,8 @@ pub struct ProcessingJob {
|
||||
pub watermark: Option<WatermarkConfig>,
|
||||
pub rename: Option<RenameConfig>,
|
||||
pub preserve_directory_structure: bool,
|
||||
pub progressive_jpeg: bool,
|
||||
pub avif_speed: u8,
|
||||
}
|
||||
|
||||
impl ProcessingJob {
|
||||
@@ -39,6 +41,8 @@ impl ProcessingJob {
|
||||
watermark: None,
|
||||
rename: None,
|
||||
preserve_directory_structure: false,
|
||||
progressive_jpeg: false,
|
||||
avif_speed: 6,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user