(PECL imagick 2 >= 2.1.0, PECL imagick 3)
Imagick::setImageAlphaChannel — Sets image alpha channel
$mode
) : bool
Activate or deactivate image alpha channel. The mode
is one of the Imagick::ALPHACHANNEL_*
constants.
Este método está disponível se o PHP foi compilado com o ImageMagick versão 6.3.8 ou superior.
mode
One of the Imagick::ALPHACHANNEL_*
constants
Retorna true
no sucesso.
Lança ImagickException em caso de erro.