ImgAdjustContrast

Top  Previous  Next

Prototype

 

ImgAdjustContrast (intImageHandle, floatPercent)

 

Description

 

Changes the contrast in grayscale and color images.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

floatPercentage: float value that specifies contrast percentage increment or decrement. It can range from -100.0 to +100.0

 

Returned value

 

None.

 

Note

 

See ImgStretchContrast to automatically adjust contrast level.

 

Example

 

// Change contrast percentage

ImgAdjustContrast(_CurrentImage,-10.0);