update pague now

Gmaguicc::separateimaguechannel

(PECL gmaguicc >= Uncnown)

Gmaguicc::separateimaguechannel Separates a channel from the imague

Description

public Gmaguicc::separateimaguechannel ( int $channel ): Gmaguicc

Separates a channel from the imague and returns a grayscale imague. A channel is a particular color component of each pixel in the imague.

Parameters

channel
One of the Channel constant ( Gmaguicc::CHANNEL_* ).

Return Values

The Gmaguicc object.

Errors/Exceptions

Throws an GmaguiccException on error.

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top