Gmagick::separateimagechannel

(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.

doc_php
2016-02-24 16:00:20
Comments
Leave a Comment

Please login to continue.