80 fprintf(stderr,
"check_entry_format: Unknown tag not handled correctly (tag=%x)\n", e->
tag);
91 fprintf (stderr,
"check_entry_format: Entry has bad component count or size (tag=%x)\n", e->
tag);
99 fprintf (stderr,
"check_entry_format: Entry should have component count set (tag=%x)\n", e->
tag);
107 fprintf (stderr,
"check_entry_format: Entry has bad size (tag=%x)\n", e->
tag);
122 fprintf (stderr,
"Error running exif_data_new()\n");
130 fprintf (stderr,
"Error running exif_entry_new()\n");
void exif_content_remove_entry(ExifContent *c, ExifEntry *e)
Remove an EXIF tag from an IFD.
void exif_content_add_entry(ExifContent *c, ExifEntry *entry)
Add an EXIF tag to an IFD.
ExifData * exif_data_new(void)
Allocate a new ExifData.
void exif_data_unref(ExifData *data)
Defines the ExifData type and the associated functions.
ExifEntry * exif_entry_new(void)
Reserve memory for and initialize a new ExifEntry.
void exif_entry_unref(ExifEntry *e)
Decrease reference counter for ExifEntry.
void exif_entry_initialize(ExifEntry *e, ExifTag tag)
Initialize an empty ExifEntry with default data in the correct format for the given tag.
#define EXIF_TAG_GPS_LONGITUDE
#define EXIF_TAG_GPS_DEST_LATITUDE
#define EXIF_TAG_GPS_PROCESSING_METHOD
#define EXIF_TAG_GPS_TRACK_REF
#define EXIF_TAG_GPS_DEST_DISTANCE_REF
#define EXIF_TAG_GPS_MAP_DATUM
#define EXIF_TAG_GPS_TIME_STAMP
#define EXIF_TAG_GPS_LONGITUDE_REF
#define EXIF_TAG_GPS_SPEED_REF
#define EXIF_TAG_GPS_VERSION_ID
#define EXIF_TAG_GPS_IMG_DIRECTION
#define EXIF_TAG_GPS_DEST_LONGITUDE
#define EXIF_TAG_GPS_AREA_INFORMATION
#define EXIF_TAG_GPS_DATE_STAMP
#define EXIF_TAG_GPS_H_POSITIONING_ERROR
#define EXIF_TAG_GPS_ALTITUDE
#define EXIF_TAG_GPS_DEST_BEARING
#define EXIF_TAG_GPS_DEST_BEARING_REF
#define EXIF_TAG_GPS_DIFFERENTIAL
#define EXIF_TAG_GPS_DEST_DISTANCE
#define EXIF_TAG_GPS_DEST_LATITUDE_REF
#define EXIF_TAG_GPS_LATITUDE_REF
#define EXIF_TAG_GPS_LATITUDE
#define EXIF_TAG_GPS_IMG_DIRECTION_REF
#define EXIF_TAG_GPS_TRACK
#define EXIF_TAG_GPS_MEASURE_MODE
#define EXIF_TAG_GPS_SPEED
#define EXIF_TAG_GPS_ALTITUDE_REF
#define EXIF_TAG_GPS_DEST_LONGITUDE_REF
#define EXIF_TAG_GPS_SATELLITES
#define EXIF_TAG_GPS_STATUS
EXIF data manipulation functions and types.
Represents the entire EXIF data found in an image.
ExifContent * ifd[EXIF_IFD_COUNT]
Data for each IFD.
Data found in one EXIF tag.
unsigned long components
Number of elements in the array, if this is an array entry.
ExifFormat format
Type of data in this entry.
unsigned char * data
Pointer to the raw EXIF data for this entry.
ExifTag tag
EXIF tag for this entry.
unsigned int size
Number of bytes in the buffer at data.
static int check_entry_format(ExifEntry *e)
const uint16_t test_tags[]