Gmagick
PHP Manual

Gmagick::setimagechanneldepth

(PECL gmagick >= Unknown)

Gmagick::setimagechanneldepthSets the depth of a particular image channel

설명

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

Sets the depth of a particular image channel.

인수

channel

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

depth

The image depth in bits.

반환값

The Gmagick object on success

오류/예외

Throws an GmagickException on error.


Gmagick
PHP Manual