Imagick::setImageMatte

Sets the image matte channel

Description

public 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.

Parameters

matte

True activates the matte channel and false disables it.

Return Values

Returns true on success.