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
See also
gflGetDefaultLoadParams,
gflGetDefaultThumbnailParams,
gflGetDefaultSaveParams,
gflLoadBitmap,
gflLoadBitmapFromMemory,
gflLoadBitmapFromHandle,
gflLoadThumbnail,
gflLoadThumbnailFromMemory,
gflLoadThumbnailFromHandle,
gflSaveBitmapIntoMemory,
gflSaveBitmap