The Imagick class
PHP Manual

Imagick::encipherImage

(No version information available, might only be in SVN)

Imagick::encipherImageEnciphers an image

说明

bool Imagick::encipherImage ( string $passphrase )

Converts plain pixels to enciphered pixels. The image is not readable until it has been deciphered using Imagick::decipherImage() This method is available if Imagick has been compiled against ImageMagick version 6.3.9 or newer.

参数

passphrase

The passphrase

返回值

Returns TRUE on success.

参见


The Imagick class
PHP Manual