'png' => 'PNG',
],
'default' => 'jpg',
+ 'when' => ['transparentPage' => 0],
]);
+
+ $this->addSettingField('JPEGQuality', Integer::class, $this->__('Qualité JPEG'), [
+ 'default' => 85,
+ 'when' => ['imageFormat' => 'jpg', 'transparentPage' => 0],
+ ]);
+
$this->addSettingField('maxResolution', SelectFromArray::class, $this->__('Résolution maximale des pages'), [
'options' => [
300 => '300dpi',
],
'default' => 300,
]);
- $this->addSettingField('JPEGQuality', Integer::class, $this->__('Qualité JPEG'), [
- 'default' => 85,
- ]);
}
protected function _performances()