The Imagick class
PHP Manual

Imagick::setImageMatte

(PECL imagick 2.0.0)

Imagick::setImageMatteSets the image matte channel

Описание

bool Imagick::setImageMatte ( bool $matte )

Sets the image matte channel. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer.

Список параметров

matte

True activates the matte channel and false disables it.

Возвращаемые значения

Returns TRUE on success.


The Imagick class
PHP Manual