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