Imagick::setImageMatte

(PECL imagick 2, PECL imagick 3)

Imagick::setImageMatteSets the image matte channel

說明

public Imagick::setImageMatte(bool $matte): bool

Sets the image matte channel. 此方法在Imagick基于ImageMagick 6.2.9以上版本編譯時(shí)可用。

參數(shù)

matte

True activates the matte channel and false disables it.

返回值

成功時(shí)返回 true。