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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Depth of image channel

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。