Imagick::setImageMatte

(PECL imagick 2, PECL imagick 3)

Imagick::setImageMatteSets the image matte channel

说明

publicImagick::setImageMatte(bool$matte): bool

Sets the image matte channel. 此方法在Imagick基于ImageMagick 6.2.9以上版本编译时可用。

参数

matte

True activates the matte channel and false disables it.

返回值

成功时返回 true

To Top