You are here

public function GD::defaultConfiguration in ImageAPI Optimize GD 8

Same name and namespace in other branches
  1. 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\ImageAPIOptimizeProcessor

Code

public function defaultConfiguration() {
  return [
    'quality' => 75,
    'file_types' => [
      'image/jpeg',
    ],
  ];
}