You are here

public function SharpenImageEffect::defaultConfiguration in Imagick 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ImageEffectBase::defaultConfiguration

File

src/Plugin/ImageEffect/SharpenImageEffect.php, line 38

Class

SharpenImageEffect
Applies the sharpen effect on an image resource.

Namespace

Drupal\imagick\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'radius' => '0',
    'sigma' => '1',
    'amount' => '1.0',
    'threshold' => '0.05',
  ];
}