Gmagick::separateimagechannel
Separates a channel from the image
Description
public Gmagick Gmagick::separateimagechannel
( int $channel
)
Parameters
-
channel
-
Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel.
Return Values
The Gmagick object on success
Errors/Exceptions
Throws an
GmagickException on error.