Gmagick::setimagechanneldepth
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Sets the depth of a particular image channel
Description
Gmagick::setimagechanneldepth(int $channel, int $depth): Gmagick
Sets the depth of a particular image channel.
Parameters
channelOne of the Channel constant (
Gmagick::CHANNEL_*).depthThe image depth in bits.
Return Values
The Gmagick object.
Errors/Exceptions
Throw