gflSepiaEx

GFL SDK

gflSepiaEx

The gflSepiaEx function converts a picture in sepia.

GFL_ERROR gflSepiaEx(
  GFL_BITMAP * src,  

GFL_BITMAP ** dst,
GFL_INT32 percent,
const GFL_COLOR * color );

Parameters

    src
    Pointer to a GFL_BITMAP structure.
    dst
    Address of a pointer to a GFL_BITMAP structure.
    NULL if on the same instance.
    percent
    An integer between 0 and 100.
    0 => greyscale, 100 => maximum sepia
    color
    Pointer to a GFL_COLOR structure.
    This color is used as a reference.

Return value

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

See also