You are here

function image_imagick_decipher in Imagick 7

Deciphers the image

Parameters

$image: An image object. The $image->resource value will be modified by this call.

$password: The password to decrypt the image with.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.decipher.inc, line 13

Code

function image_imagick_decipher(stdClass $image, $password) {
  $image->resource
    ->decipherImage($password);
  return $image;
}