Imagick::setImageAlphaChannel
PHP function
Edit on GitHub ✎
(PECL imagick 2 >= 2.1.0, PECL imagick 3)
Sets image alpha channel
Description
Imagick::setImageAlphaChannel(int $mode): bool
Activate or deactivate image alpha channel. The mode is one of the Imagick::ALPHACHANNEL_* constants. 0x638
Parameters
modeOne of the
Imagick::ALPHACHANNEL_*constants
Return Values
Success
Errors/Exceptions
Throws