# Gmagick::getimagechanneldepth

(PECL gmagick >= Unknown)

Gmagick::getimagechanneldepth — Gets 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。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open