gflSaveBitmapIntoHandle

GFL SDK

gflSaveBitmapIntoHandle

The gflSaveBitmapIntoHandle function save a picture in memory into a file with the use of write callback functions.

GFL_ERROR gflSaveBitmapIntoHandle(
  GFL_HANDLE handle,  
  const GFL_BITMAP * bitmap,  
  GFL_SAVE_PARAMS * params,  
);

Parameters

    handle
    User handle. The Callbacks field of the GFL_SAVE_PARAMS structure must be filled correctly.
    bitmap
    Address of a pointer to a GFL_BITMAP structure.
    params
    Pointer to a GFL_SAVE_PARAMS structure.
    This structure must be filled correctly, in particular the FormatIndex field.

Return value

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

See also