Imagick::deleteImageArtifact

(PECL imagick 3)

Imagick::deleteImageArtifactDelete image artifact

說明

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ù)

artifact

The name of the artifact to delete

返回值

成功時返回 true。

錯誤/異常

錯誤時拋出 ImagickException。

參見