gflResize

GFL SDK

gflResize

The gflResize function allows to resize a picture.

GFL_ERROR gflResize(
  GFL_BITMAP * src,  

GFL_BITMAP ** dst,
GFL_INT32 width,
GFL_INT32 height,
GFL_UINT32 method,
GFL_UINT32 flags );

Parameters

    src
    Pointer to a GFL_BITMAP structure.
    dst
    Address of a pointer to a GFL_BITMAP structure.
    NULL if on the same instance.
    width
    New width.
    height
    New height.
    method
    GFL_RESIZE_QUICKQuick
    GFL_RESIZE_BILINEARBilinear
    flags
    Reserved, must be 0.

Return value

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

See also