(PECL imagick 2, PECL imagick 3)
Imagick::getImageChannelDepth — Gets the depth for a particular image channel
$channel
): intGets the depth for a particular image channel.
channel
Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. 缺省為Imagick::CHANNEL_DEFAULT
.
參考此 通道常數(shù)列表
成功時(shí)返回 true
。