Imagick::setImageAlphaChannel

(No version information available, might only be in Git)
Sets image alpha channel
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.

Parameters:
mode

One of the Imagick::ALPHACHANNEL_* constants

Returns:

Returns TRUE on success.

Exception:

Throws ImagickException on error.

See also:

Imagick::setImageMatte() -

Imagick Alpha Channel Constants -

doc_php
2016-02-24 16:01:19
Comments
Leave a Comment

Please login to continue.