Php/docs/imagick.getimageartifact

来自菜鸟教程
跳转至:导航、​搜索

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。


参见