You are here

protected function Charcoal::process in Imagick 8

File

src/Plugin/ImageToolkit/Operation/imagick/Charcoal.php, line 37

Class

Charcoal
Defines imagick charcoal operation.

Namespace

Drupal\imagick\Plugin\ImageToolkit\Operation\imagick

Code

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