You are here

protected function Decipher::process in Imagick 8

File

src/Plugin/ImageToolkit/Operation/imagick/Decipher.php, line 34

Class

Decipher
Defines imagick decipher operation.

Namespace

Drupal\imagick\Plugin\ImageToolkit\Operation\imagick

Code

protected function process(Imagick $resource, array $arguments) {
  return $resource
    ->decipherImage($arguments['password']);
}