ImgScaleToGray

Top  Previous  Next

Prototype

 

ImgScaleToGray(intImageHandle, floatZoomPercentage)

 

Description

 

Reduces the current monochrome image, creating a grayscale image (thumbnail).

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

floatZoomPercentage: float value that specifies the zoom factor to use. It can ranges from 1.0 to 100.0.

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// Create a thumbnail in grayscale at 5% of full size

ImgScaleToGray(_CurrentImage, 5.0);