Gmagick
PHP Manual

Gmagick::getimagechanneldepth

(PECL gmagick >= Unknown)

Gmagick::getimagechanneldepthGets the depth for a particular image channel

说明

public int Gmagick::getimagechanneldepth ( int $channel_type )

Gets the depth for a particular image channel.

参数

此函数没有参数。

返回值

Depth of image channel

错误/异常

错误时抛出 GmagickException


Gmagick
PHP Manual