php8.5
Home/ Manual/ imagick / imagick/ Imagick::setImageMatte

Imagick::setImageMatte

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Sets the image matte channel

Description

Imagick::setImageMatte(bool $matte): bool

Sets the image matte channel. 0x629

Parameters

matte

True activates the matte channel and false disables it.

Return Values

Success

Source: reference/imagick/imagick/setimagematte.xml · from the official PHP manual (php/doc-en)