You are here

protected function Inverse::process in Imagick 8

File

src/Plugin/ImageToolkit/Operation/imagick/Inverse.php, line 30

Class

Inverse
Defines imagick inverse operation.

Namespace

Drupal\imagick\Plugin\ImageToolkit\Operation\imagick

Code

protected function process(Imagick $resource, array $arguments) {
  return $resource
    ->negateImage(FALSE);
}