You are here

protected function Spread::process in Imagick 8

File

src/Plugin/ImageToolkit/Operation/imagick/Spread.php, line 34

Class

Spread
Defines imagick spread operation.

Namespace

Drupal\imagick\Plugin\ImageToolkit\Operation\imagick

Code

protected function process(Imagick $resource, array $arguments) {
  return $resource
    ->spreadImage($arguments['radius']);
}