gflGamma

GFL SDK

gflGamma

The gflGamma function increase or decrease the gamma of a picture.

GFL_ERROR gflGamma(
  GFL_BITMAP * src,  

GFL_BITMAP ** dst,
double gamma );

Parameters

    src
    Pointer to a GFL_BITMAP structure.
    dst
    Address of a pointer to a GFL_BITMAP structure.
    NULL if on the same instance.
    gamma
    A number between 0.01 and 5.

Return value

    The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

See also