public function PngQuant::defaultConfiguration in Image Optimize Binaries 8
Overrides ImageAPIOptimizeProcessorBinaryBase::defaultConfiguration
File
- src/
Plugin/ ImageAPIOptimizeProcessor/ PngQuant.php, line 67
Class
- PngQuant
- Uses the PngQuant binary to optimize images.
Namespace
Drupal\imageapi_optimize_binaries\Plugin\ImageAPIOptimizeProcessorCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'speed' => 3,
'quality' => [
'min' => 90,
'max' => 99,
],
];
}