You are here

function hook_imagemagick_post_save_alter in ImageMagick 8

Same name and namespace in other branches
  1. 8.2 imagemagick.api.php \hook_imagemagick_post_save_alter()

Alter an image after it has been converted by the ImageMagick toolkit.

ImageMagick does not support remote file systems, so modules can decide to move temporary files from the local file system to remote destination systems.

Parameters

\Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit $toolkit: The Imagemagick toolkit instance to alter.

See also

\Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::getDestination()

\Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::getDestinationLocalPath()

\Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::save()

1 function implements hook_imagemagick_post_save_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

imagemagick_imagemagick_post_save_alter in ./imagemagick.module
Implements hook_imagemagick_post_save_alter().
1 invocation of hook_imagemagick_post_save_alter()
ImagemagickToolkit::save in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Writes an image resource to a destination file.

File

./imagemagick.api.php, line 46
API documentation for the ImageMagick module.

Code

function hook_imagemagick_post_save_alter(\Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit $toolkit) {
}