gflAdjustHLS

GFL SDK

gflAdjustHLS

The gflAdjustHLS function allows to adjust the hue, lightness & saturation of a picture.

GFL_ERROR gflAdjustHLS(
  GFL_BITMAP * src,  

GFL_BITMAP ** dst,
GFL_INT32 h_increment,
GFL_INT32 l_increment,
GFL_INT32 s_increment );

Parameters

    src
    Pointer to a GFL_BITMAP structure.
    dst
    Address of a pointer to a GFL_BITMAP structure.
    NULL if on the same instance.
    h_increment
    An interger between -100 and 100 to add to the hue value.
    l_increment
    An interger between -100 and 100 to add to the lightness value.
    s_increment
    An interger between -100 and 100 to add to the saturation value.

Return value

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

See also