Gmagick::setimagechanneldepth
Sets the depth of a particular image channel
Description
public Gmagick Gmagick::setimagechanneldepth(int $channel, int $depth)
Parameters
-
channel
-
One of the Channel constant
(Gmagick::CHANNEL_*).
-
depth
-
The image depth in bits.
Return Values
The Gmagick object.
Errors/Exceptions
Throws an
GmagickException on error.