gflGetFileInformationFromMemory
The gflGetFileInformationFromMemory function retrieves all informations about a picture from memory.
GFL_ERROR gflGetFileInformationFromMemory( GFL_UINT8 * data, GFL_UINT32 data_length,
GFL_INT32 index,
GFL_FILE_INFORMATION * information );
Parameters
- data
- Pointer to the picture.
- data_length
- Length of data.
- index
- Index of format. -1 for automatic recognition.
- information
-
Pointer to a GFL_FILE_INFORMATION structure.
You must use gflFreeFileInformation to free his content.
Return value
The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.
See also