PHP | Imagick decipherImage() Function Last Updated : 31 Oct, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::decipherImage() function is an inbuilt function in PHP which is used to decipher an image which has been enciphered before. Syntax: bool Imagick::decipherImage( string $passphrase ) Parameters: This function accepts a single parameter $passphrase which holds the passphrase value or the key to decipher the image. Return Value: This function returns TRUE on success. Below program illustrates the Imagick::decipherImage() function in PHP: Program: php <?php /* Create a new Imagick object which is an enciphered image with passphrase 'GeeksforGeeks' */ $imagick = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/20191020203919/g4genciphered.png'); // Applying the decipher() function $imagick->decipher('GeeksforGeeks'); header("Content-Type: image/png"); // Display the output image echo $imagick->getImageBlob(); ?> Output: Reference: https://www.php.net/manual/en/imagick.decipherimage.php Comment More infoAdvertise with us Next Article PHP | Imagick decipherImage() Function G gurrrung Follow Improve Article Tags : Web Technologies PHP PHP-function PHP-Imagick Similar Reads PHP | Imagick encipherImage() Function The Imagick::encipherImage() function is an inbuilt function in PHP which is used to convert plain pixels image into enciphered pixels. This function simply converts the pixels to enciphered pixels and then the image can be readable only if decipher the image with the same string with which it was e 1 min read PHP | Imagick drawImage() Function The Imagick::drawImage() function is an inbuilt function in PHP which is used to render the ImagickDraw object on the Imagick object. It is used to draw the image on the Imagick instance. We set an image matrix, parameters and the borders of the drawn image with the help of ImagickDraw methods and t 2 min read PHP | Imagick cropImage() Function The Imagick::cropImage() function is an inbuilt function in PHP which is used to extracts the region of the image.Syntax:  int Imagick::cropImage( $width, $height, $x, $y ) Parameters: This function accept four parameters as mention above and describe below.  $width: This parameter is used to spec 2 min read PHP | Imagick displayImage() Function The Imagick::displayImage() function is an inbuilt function in PHP which is used to displays an image object. Syntax: bool Imagick::displayImage( $servername ) Parameters: This function accepts a single parameter $servername which is used to specify the server name. Return Value: This function retur 1 min read PHP | Imagick addImage() Function The Imagick::addImage() function is an inbuilt function in PHP which is used to adds new image to Imagick object image list. After the operation iterator position is moved at the end of the list. This function adds new image to Imagick object from the current position of the source object. The Imagi 1 min read Like