ImgDropColorRGB |
Top Previous Next |
Prototype
ImgDropColorRGB(intImageHandle,BooleanRed,BooleanGreen,BooleanBlue, intThreshold)
Description
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 specifying 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); |