Decipher.php in Imagick 8
File
src/Plugin/ImageToolkit/Operation/imagick/Decipher.php
View source
<?php
namespace Drupal\imagick\Plugin\ImageToolkit\Operation\imagick;
use Imagick;
class Decipher extends ImagickOperationBase {
protected function arguments() {
return [
'password' => [
'description' => 'The password to decrypt the image with.',
],
];
}
protected function process(Imagick $resource, array $arguments) {
return $resource
->decipherImage($arguments['password']);
}
}
Classes
Name |
Description |
Decipher |
Defines imagick decipher operation. |