gflSaveBitmap
The gflSaveBitmap function save a picture in memory into a file.
GFL_ERROR gflSaveBitmap( char * filename, const GFL_BITMAP * bitmap, GFL_SAVE_PARAMS * params, );
Parameters
- filename
- Pointer to a null-terminated string that contains the filename to save.
- bitmap
- 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