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

Gmagick::setimagechanneldepth

(PECL gmagick >= Unknown)

Gmagick::setimagechanneldepthSets the depth of a particular image channel

說明

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.

錯誤/異常

錯誤時拋出 GmagickException。