You are here

public function OptiPng::defaultConfiguration in Image Optimize Binaries 8

Overrides ImageAPIOptimizeProcessorBinaryBase::defaultConfiguration

File

src/Plugin/ImageAPIOptimizeProcessor/OptiPng.php, line 53

Class

OptiPng
Uses the OptiPng binary to optimize images.

Namespace

Drupal\imageapi_optimize_binaries\Plugin\ImageAPIOptimizeProcessor

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'level' => 5,
    'interlace' => '',
  ];
}