Gmagick::setimagechanneldepth

(PECL gmagick >= Unknown)

Gmagick::setimagechanneldepthSets the depth of a particular image channel

Açıklama

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

Sets the depth of a particular image channel.

Değiştirgeler

channel

Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel.

depth

The image depth in bits.

Dönen Değerler

The Gmagick object on success

Hatalar/İstisnalar

Hata durumunda bir GmagickException istisnası oluşur.