(PECL gmagick >= Unknown)
Separates a channel from the image
public Gmagick Gmagick::separateimagechannel ( int $channel )
Separates a channel from the image and returns a grayscale image. A channel is a particular color component of each pixel in the image.
Parameters:
channel
Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel.
Returns:
The Gmagick object on success
Exception:
Throws an GmagickException on error.
Please login to continue.