Gmagick::separateimagechannel
(PECL gmagick >= Unknown)
Gmagick::separateimagechannel — Separates a channel from the image
Description
Separates a channel from the image and returns a grayscale image. A channel is a particular color component of each pixel in the image.
Return Values
The Gmagick object.
Errors/Exceptions
Throws an GmagickException on error.