You are here

protected function Interlace::execute in Image Effects 8

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

File

src/Plugin/ImageToolkit/Operation/imagemagick/Interlace.php, line 26

Class

Interlace
Defines ImageMagick Interlace operation.

Namespace

Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick

Code

protected function execute(array $arguments) {
  $this
    ->getToolkit()
    ->addArgument("-interlace {$arguments['type']}");
  return TRUE;
}