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.

锟斤拷锟斤拷

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

锟斤拷锟斤拷锟届常

锟斤拷锟斤拷时锟阶筹拷 GmagickException锟斤拷