You are here

protected function Wave::process in Imagick 8

File

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

Class

Wave
Defines imagick wave operation.

Namespace

Drupal\imagick\Plugin\ImageToolkit\Operation\imagick

Code

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