Imagick::setImageArtifact> <Imagick::setImage
Last updated: Fri, 30 Dec 2011

Imagick::setImageAlphaChannel

(No version information available, might only be in SVN)

Imagick::setImageAlphaChannelSets 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.

Veja Também



User Contributed Notes
Imagick::setImageAlphaChannel
Iddles
06-Jul-2011 02:03
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::setImageArtifact> <Imagick::setImage
Last updated: Fri, 30 Dec 2011