Home > PHP > Function > > Imagick::setImageAlphaChannel()

Imagick::setImageAlphaChannel()

Imagick::setImageAlphaChannel - Sets image alpha channel

Syntax

bool Imagick::setImageAlphaChannel (int $mode)

Arguments

  • mode - One of the Imagick::ALPHACHANNEL_* constants

Description

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.

Version

PHP No version information available, might only be in SVN

Return value

Returns TRUE on success.