= Unknown)Gmagick::setimagechanneldepth — Sets the depth of a particular image channel說(shuō)明public Gmagick::se">

Gmagick::setimagechanneldepth

(PECL gmagick >= Unknown)

Gmagick::setimagechanneldepthSets the depth of a particular image channel

說(shuō)明

public Gmagick::setimagechanneldepth(int $channel, int $depth): Gmagick

Sets the depth of a particular image channel.

參數(shù)

channel

One of the Channel constant (Gmagick::CHANNEL_*).

depth

The image depth in bits.

返回值

The Gmagick object.

錯(cuò)誤/異常

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