# Gmagick::getimagechanneldepth

(PECL gmagick >= Unknown)

Gmagick::getimagechanneldepth — Gets the depth for a particular image channel

### Description

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

Gets the depth for a particular image channel.

### Parameters

This function has no parameters.

### Return Values

Depth of image channel

### Errors/Exceptions

Throws an GmagickException on error.