You are here

protected function Invert::execute in Image Effects 8.3

Same name in this branch
  1. 8.3 src/Plugin/ImageToolkit/Operation/gd/Invert.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\gd\Invert::execute()
  2. 8.3 src/Plugin/ImageToolkit/Operation/imagemagick/Invert.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick\Invert::execute()
Same name and namespace in other branches
  1. 8 src/Plugin/ImageToolkit/Operation/imagemagick/Invert.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick\Invert::execute()
  2. 8.2 src/Plugin/ImageToolkit/Operation/imagemagick/Invert.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick\Invert::execute()

File

src/Plugin/ImageToolkit/Operation/imagemagick/Invert.php, line 31

Class

Invert
Defines ImageMagick Invert operation.

Namespace

Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick

Code

protected function execute(array $arguments) {
  $this
    ->addArgument('-negate');
  return TRUE;
}