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

Imagick::getImageChannelDepth()

Imagick::getImageChannelDepth - Gets the depth for a particular image channel

Syntax

int Imagick::getImageChannelDepth (int $channel)

Arguments

  • channel - Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constantsusing bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants

Description

Gets the depth for a particular image channel.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.