EXIF
From XnView Wiki
gflBitmapHasEXIF
The gflBitmapHasEXIF function is used to know if the picture has EXIF metadata.
GFL_BOOL gflBitmapHasEXIF( const GFL_BITMAP* bitmap );
Parameters
- bitmap
- Pointer to a GFL_BITMAP structure.
Return value
- The function returns GFL_TRUE if the bitmap has EXIF metadata.
See also
- gflBitmapHasIPTC, gflBitmapGetEXIF, gflFreeEXIF, gflBitmapRemoveEXIFThumbnail, gflBitmapRemoveMetaData
gflBitmapGetEXIF
The gflBitmapGetEXIF function returns EXIF metadata in a readable form.
GFL_EXIF_DATA* gflBitmapGetEXIF( const GFL_BITMAP* bitmap, GFL_UINT32 flags );
Parameters
- bitmap
- Pointer to a GFL_BITMAP structure.
- flags
- Not used.
Return value
- The function returns a pointer to a GFL_EXIF_DATA structure.
See also
gflFreeEXIF
The gflFreeEXIF function frees memory allocated by gflBitmapGetEXIF function.
void gflFreeEXIF( GFL_EXIF_DATA* exif_data );
Parameters
- exif_data
- Pointer to a GFL_EXIF_DATA structure.
See also
gflBitmapGetEXIFValue
The gflBitmapGetEXIFValue allow to get a tag from EXIF metadata.
GFL_ERROR gflBitmapGetEXIFValue( const GFL_BITMAP* bitmap, GFL_UINT32 tag, char* value, GFL_INT32 value_length );
Parameters
- bitmap
- Pointer to a GFL_BITMAP structure
- tag
- EXIF tag
- value
- Pointer to a char array (string)
- value_length
- Maximum length of the string
Return value
- The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.
See also
gflBitmapRemoveEXIFThumbnail
The gflBitmapRemoveEXIFThumbnail function remove thumbnail from EXIF metadata.
GFL_ERROR gflBitmapRemoveEXIFThumbnail( GFL_BITMAP* bitmap );
Parameters
- bitmap
- Pointer to a GFL_BITMAP structure.
See also