Syntax
INT is_SetGamma (HIDS hf, INT Mode)
Description
is_SetGamma() toggles the gamma correction. The gamma correction is used to adapt the color values to the monitor. In Y8 monochrome mode the gamma correction has no effect.
Parameters
hf |
Frame grabber handle |
Mode |
|
IS_SET_GAMMA_OFF |
Turn off gamma correction |
IS_SET_GAMMA_ON |
Turn on gamma correction |
IS_GET_GAMMA_MODE |
Returns the current setting |
Return value
Current setting when called with IS_GET_GAMMA_MODE, else IS_SUCCESS, IS_NO_SUCCESS