Gmagick::setimagechanneldepth

(PECL gmagick >= Unknown)
Sets the depth of a particular image channel
public Gmagick Gmagick::setimagechanneldepth ( int $channel, int $depth )

Sets the depth of a particular image channel.

Parameters:
channel

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

depth

The image depth in bits.

Returns:

The Gmagick object on success

Exception:

Throws an GmagickException on error.

doc_php
2016-02-24 16:00:21
Comments
Leave a Comment

Please login to continue.