If you are wondering how to copy the alpha channel from one image to another, see my note on the Imagick::compositeImage manual page.
Imagick::setImageAlphaChannel
(No version information available, might only be in SVN)
Imagick::setImageAlphaChannel — Sets image alpha channel
Descrição
bool Imagick::setImageAlphaChannel
( int $mode
)
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.
Parâmetros
- mode
-
One of the Imagick::ALPHACHANNEL_* constants
Valor Retornado
Retorna TRUE em sucesso.
Erros
Dispara ImagickException em erro.
User Contributed Notes
Imagick::setImageAlphaChannel
Imagick::setImageAlphaChannel
Iddles
06-Jul-2011 02:03
06-Jul-2011 02:03

Imagick::setImage