You are here

protected function Sketch::process in Imagick 8

File

src/Plugin/ImageToolkit/Operation/imagick/Sketch.php, line 40

Class

Sketch
Defines imagick sketch operation.

Namespace

Drupal\imagick\Plugin\ImageToolkit\Operation\imagick

Code

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