class Interlace in Image Effects 8.2
Same name in this branch
- 8.2 src/Plugin/ImageToolkit/Operation/gd/Interlace.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\gd\Interlace
- 8.2 src/Plugin/ImageToolkit/Operation/imagemagick/Interlace.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick\Interlace
Same name and namespace in other branches
- 8.3 src/Plugin/ImageToolkit/Operation/imagemagick/Interlace.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick\Interlace
- 8 src/Plugin/ImageToolkit/Operation/imagemagick/Interlace.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick\Interlace
Defines ImageMagick Interlace operation.
Plugin annotation
@ImageToolkitOperation(
id = "image_effects_imagemagick_interlace",
toolkit = "imagemagick",
operation = "interlace",
label = @Translation("Interlace"),
description = @Translation("Create an interlaced PNG or GIF or progressive JPEG image.")
)
Hierarchy
- class \Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick\Interlace extends \Drupal\imagemagick\Plugin\ImageToolkit\Operation\imagemagick\ImagemagickImageToolkitOperationBase uses InterlaceTrait
Expanded class hierarchy of Interlace
File
- src/
Plugin/ ImageToolkit/ Operation/ imagemagick/ Interlace.php, line 19
Namespace
Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagickView source
class Interlace extends ImagemagickImageToolkitOperationBase {
use InterlaceTrait;
/**
* {@inheritdoc}
*/
protected function execute(array $arguments) {
$this
->addArgument("-interlace {$arguments['type']}");
return TRUE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Interlace:: |
protected | function | ||
InterlaceTrait:: |
protected | function | ||
InterlaceTrait:: |
protected | function |