function hook_imagemagick_post_save_alter in ImageMagick 8.2
Same name and namespace in other branches
- 8 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\ImagemagickExecArguments $arguments: The ImageMagick/GraphicsMagick execution arguments object.
Deprecated
in 8.x-2.5, will be removed in 8.x-3.0. Use an event subscriber to react on a ImagemagickExecutionEvent::POST_SAVE event.
See also
https://www.drupal.org/project/imagemagick/issues/3043136
\Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::save()
\Drupal\imagemagick\ImagemagickExecArguments::getDestination()
\Drupal\imagemagick\ImagemagickExecArguments::getDestinationLocalPath()
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_test_imagemagick_post_save_alter in tests/
modules/ imagemagick_test/ imagemagick_test.module - Implements hook_imagemagick_post_save_alter().
File
- ./
imagemagick.api.php, line 54 - API documentation for the ImageMagick module.
Code
function hook_imagemagick_post_save_alter(\Drupal\imagemagick\ImagemagickExecArguments $arguments) {
}