You are here

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\ImageAPIOptimizeProcessor

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'recompress' => TRUE,
    'mode' => 3,
  ];
}