You are here

protected function Resize::execute in Imagick 8

Performs the actual manipulation on the image.

Image toolkit operation implementers must implement this method. This method is responsible for actually performing the operation on the image. When this method gets called, the implementer may assume all arguments, also the optional ones, to be available, validated and corrected.

Parameters

array $arguments: An associative array of arguments to be used by the toolkit operation.

Return value

bool TRUE if the operation was performed successfully, FALSE otherwise.

Overrides ImagickOperationTrait::execute

1 call to Resize::execute()
Scale::execute in src/Plugin/ImageToolkit/Operation/imagick/Scale.php
Performs the actual manipulation on the image.
1 method overrides Resize::execute()
Scale::execute in src/Plugin/ImageToolkit/Operation/imagick/Scale.php
Performs the actual manipulation on the image.

File

src/Plugin/ImageToolkit/Operation/imagick/Resize.php, line 27

Class

Resize
Defines imagick resize operation.

Namespace

Drupal\imagick\Plugin\ImageToolkit\Operation\imagick

Code

protected function execute(array $arguments = []) {
  return $this
    ->processFrames($arguments);
}