The Imagick class
PHP Manual

Imagick::setImageArtifact

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

Imagick::setImageArtifactSet image artifact

说明

bool Imagick::setImageArtifact ( string $artifact , string $value )

Associates an artifact with the image. The difference between image properties and image artifacts is that properties are public and artifacts are private. This method is available if Imagick has been compiled against ImageMagick version 6.5.7 or newer.

参数

artifact

The name of the artifact

value

The value of the artifact

返回值

Returns TRUE on success.

错误/异常

Throws ImagickException on error.

参见


The Imagick class
PHP Manual