public function GD::defaultConfiguration in ImageAPI Optimize GD 8
Same name and namespace in other branches
- 2.x src/Plugin/ImageAPIOptimizeProcessor/GD.php \Drupal\imageapi_optimize_gd\Plugin\ImageAPIOptimizeProcessor\GD::defaultConfiguration()
File
- src/
Plugin/ ImageAPIOptimizeProcessor/ GD.php, line 61
Class
- GD
- Provides a ImageAPI Optimize processor for GD.
Namespace
Drupal\imageapi_optimize_gd\Plugin\ImageAPIOptimizeProcessorCode
public function defaultConfiguration() {
return [
'quality' => 75,
'file_types' => [
'image/jpeg',
],
];
}