(PECL imagick 2, PECL imagick 3)
Imagick::setImageMatte — Sets the image matte channel
public Imagick::setImageMatte(bool $matte): bool
Sets the image matte channel. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer.
matteTrue activates the matte channel and false disables it.
Returns true on success.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.setimagematte.php