Imagick::getImageChannelDepth

(PECL imagick 2, PECL imagick 3)

Imagick::getImageChannelDepthGets the depth for a particular image channel

說明

public Imagick::getImageChannelDepth(int $channel): int

Gets the depth for a particular image channel.

參數(shù)

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。