public function AdvPng::defaultConfiguration in Image Optimize Binaries 8
Overrides ImageAPIOptimizeProcessorBinaryBase::defaultConfiguration
File
- src/
Plugin/ ImageAPIOptimizeProcessor/ AdvPng.php, line 52
Class
- AdvPng
- Uses the AdvPng binary to optimize images.
Namespace
Drupal\imageapi_optimize_binaries\Plugin\ImageAPIOptimizeProcessorCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'recompress' => TRUE,
'mode' => 3,
];
}