Gmagick::getimagechanneldepth

(PECL gmagick >= Unknown)

Gmagick::getimagechanneldepthGets the depth for a particular image channel

说明

public Gmagick::getimagechanneldepth(int $channel_type): int

Gets the depth for a particular image channel.

参数

此函数没有参数。

返回值

Depth of image channel

错误/异常

错误时抛出 GmagickException