Imagick::setImageMatte

(PECL imagick 2, PECL imagick 3)

Imagick::setImageMatteSets the image matte channel

Description

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.

Parameters

matte

True activates the matte channel and false disables it.

Return Values

Returns true on success.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.setimagematte.php