Home > PHP > Function > > Imagick::setImageMatte()

Imagick::setImageMatte()

Imagick::setImageMatte - Sets the image matte channel

Syntax

bool Imagick::setImageMatte (bool $matte)

Arguments

  • matte - True activates the matte channel and false disables it.

Description

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

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.