Imagick::getImageArtifact

(PECL imagick 3)

Imagick::getImageArtifactGet image artifact

说明

public Imagick::getImageArtifact ( string $artifact ) : string

Gets an artifact associated with the image. The difference between image properties and image artifacts is that properties are public and artifacts are private. 此方法在Imagick基于ImageMagick 6.5.7以上版本编译时可用。

参数

artifact

The name of the artifact

返回值

Returns the artifact value on success.

错误/异常

错误时抛出 ImagickException。

参见