Invert.php in Image Effects 8.3
File
src/Plugin/ImageToolkit/Operation/imagemagick/Invert.php
View source
<?php
namespace Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick;
use Drupal\imagemagick\Plugin\ImageToolkit\Operation\imagemagick\ImagemagickImageToolkitOperationBase;
class Invert extends ImagemagickImageToolkitOperationBase {
protected function arguments() {
return [];
}
protected function execute(array $arguments) {
$this
->addArgument('-negate');
return TRUE;
}
}
Classes
Name |
Description |
Invert |
Defines ImageMagick Invert operation. |