You are here

protected function Edge::process in Imagick 8

File

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

Class

Edge
Defines imagick edge operation.

Namespace

Drupal\imagick\Plugin\ImageToolkit\Operation\imagick

Code

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