ImgDropComponent
Previous  Top  Next

Prototype

ImgDropComponent(intImageHandle,BooleanRed,BooleanGreen,BooleanBlue)

Description

It drops color components from an image, generating a grayscale image.

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.

Returned value

None.

Notes

Up to two components can be specified for dropping.

Example


// Dropping Red
ImgDropComponent(_CurrentImage,True, false, false);