ImgDropComponent

Top  Previous  Next

Prototype

 

ImgDropComponent(intImageHandle,BooleanRed,BooleanGreen,BooleanBlue)

 

Description

 

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);