IMAGICK.SETIMAGEALPHACHANNEL(3) 1 IMAGICK.SETIMAGEALPHACHANNEL(3)
Imagick::setImageAlphaChannel - Sets image alpha channel
SYNOPSIS
bool Imagick::setImageAlphaChannel (int $mode)
DESCRIPTION
Activate 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.
PARAMETERS
o $mode
- One of the Imagick::ALPHACHANNEL_* constants
RETURN VALUES
Returns TRUE on success.
ERRORS
/EXCEPTIONS
Throws ImagickException on error.
SEE ALSO
Imagick.setImageMatte(3), Imagick Alpha Channel Constants.
PHP Documentation Group IMAGICK.SETIMAGEALPHACHANNEL(3)