La classe Imagick
PHP Manual

Imagick::setImageAlphaChannel

()

Imagick::setImageAlphaChannelSets image alpha channel

Description

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.

Liste de paramètres

mode

One of the Imagick::ALPHACHANNEL_* constants

Valeurs de retour

Returns TRUE on success.

Erreurs / Exceptions

Lance une exception ImagickException si une erreur survient.

Voir aussi


La classe Imagick
PHP Manual