ImgDropColorRGB
Previous  Top  Next

Prototype

ImgDropColorRGB(intImageHandle,BooleanRed,BooleanGreen,BooleanBlue, intThreshold)

Description

It drops colors from an image; using three parameters, user can specify the main color to drop in the RGB color space.

Parameters

intImageHandle: integer value corresponding to the image handle.
BooleanRed: it specifies if dropping Red.
BooleanGreen: it specifies if dropping Green.
BooleanBlue: it specifies if dropping Blue.
intThreshold: integer value specifing the threshold value for dropping. It can ranges from 0 (only pure color) to 255 (all color variations)

Returned value

None.

Notes

Up to two colors can be specified for dropping.

Example

// dropping Red
ImgDropColorRGB(_CurrentImage,true, false, false, 255);