protected function Strip::execute in Image Effects 8.2
Same name in this branch
- 8.2 src/Plugin/ImageToolkit/Operation/gd/Strip.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\gd\Strip::execute()
- 8.2 src/Plugin/ImageToolkit/Operation/imagemagick/Strip.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\imagemagick\Strip::execute()
Same name and namespace in other branches
- 8.3 src/Plugin/ImageToolkit/Operation/gd/Strip.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\gd\Strip::execute()
- 8 src/Plugin/ImageToolkit/Operation/gd/Strip.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\gd\Strip::execute()
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 ImageToolkitOperationBase::execute
File
- src/
Plugin/ ImageToolkit/ Operation/ gd/ Strip.php, line 31
Class
- Strip
- Defines GD Strip operation.
Namespace
Drupal\image_effects\Plugin\ImageToolkit\Operation\gdCode
protected function execute(array $arguments) {
// Actually, we have nothing to do here. The GD toolkit drops all EXIF
// information when loading the image in memory, which is then missing
// when saving to the derivative image.
return TRUE;
}