Man Page: imagick.setimagealphachannel
Operating Environment: php
Section: 3
IMAGICK.SETIMAGEALPHACHANNEL(3) 1 IMAGICK.SETIMAGEALPHACHANNEL(3) Imagick::setImageAlphaChannel - Sets image alpha channelSYNOPSISbool Imagick::setImageAlphaChannel (int $mode)DESCRIPTIONActivate or deactivate image alpha channel. The $mode is one of the Imagick::ALPHACHANNEL_* constants. This method is available if Imagick has been compiled against ImageMagick version 6.3.8 or newer.PARAMETERSo $mode - One of the Imagick::ALPHACHANNEL_* constantsRETURN VALUESReturns TRUE on success.ERRORS/EXCEPTIONS Throws ImagickException on error.SEE ALSOImagick.setImageMatte(3), Imagick Alpha Channel Constants. PHP Documentation Group IMAGICK.SETIMAGEALPHACHANNEL(3)