Gmagick::setimagechanneldepth
PHP Manual
PHP Manual»Gmagick»Gmagick::setimagechanneldepth

Gmagick::setimagechanneldepth

(PECL gmagick >= Unknown)

Gmagick::setimagechanneldepthSets the depth of a particular image channel

Опис

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

Sets the depth of a particular image channel.

Параметри

channel
One of the Channel constant (Gmagick::CHANNEL_*).
depth
The image depth in bits.

Значення, що повертаються

The Gmagick object.

Помилки/виключення

Викидає GmagickException у разі помилки.

To Top