ImageMan DLL Suite Version 8Submit feedback on this topic   

ImgGamma

int IMAPI ImgGamma ( hImage, nGamma )

This function performs gamma correction on the given hImage.

 

Parameter

Type

Description

hImage

HANDLE

Image to gamma-correct.

nGamma

INT

Gamma-correction value (10-50)

 

Return Value

The return value is IMG_OK on success, an ImageMan error code on failure.

Comments

Acceptable nGamma values range from 10 (1.0) to 50 (5.0).

Note

By inverting the image prior to adjusting the gamma and then inverting the image afterward it is possible to adjust the image by negative gamma values.

 

 


© 1995-2004 Data Techniques, Inc. All rights reserved.