(PECL imagick 2, PECL imagick 3)
Imagick::setImageChannelDepth — Sets the depth of a particular image channel
$channel
, int $depth
): boolSets the depth of a particular image channel.
channel
depth
Returns true
on success.
Throws ImagickException on error.