gflSaveBitmapIntoMemory

GFL SDK

gflSaveBitmapIntoMemory

The gflSaveBitmapIntoMemory function save a picture in memory.

GFL_ERROR gflSaveBitmapIntoHandle(
  GFL_UINT8 ** data,  
  GFL_UINT32 * data_length,  
  const GFL_BITMAP * bitmap,  
  GFL_SAVE_PARAMS * params
);

Parameters

    data
    Address of a pointer for data.
    data_length
    Address of data's length.
    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