Imagick::deleteImageArtifact

(PECL imagick 3)

Imagick::deleteImageArtifactDelete image artifact

說(shuō)明

public Imagick::deleteImageArtifact(string $artifact): bool

Deletes 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以上版本編譯時(shí)可用。

參數(shù)

artifact

The name of the artifact to delete

返回值

成功時(shí)返回 true。

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 ImagickException。

參見