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