|
EXIF library (libexif) Internals 0.6.26
|
Handling EXIF tags. More...
Go to the source code of this file.
Functions | |
| ExifTag | exif_tag_from_name (const char *name) |
| Return the tag ID given its unique textual name. | |
| const char * | exif_tag_get_name_in_ifd (ExifTag tag, ExifIfd ifd) |
| Return a textual name of the given tag when found in the given IFD. | |
| const char * | exif_tag_get_title_in_ifd (ExifTag tag, ExifIfd ifd) |
| Return a textual title of the given tag when found in the given IFD. | |
| const char * | exif_tag_get_description_in_ifd (ExifTag tag, ExifIfd ifd) |
| Return a verbose textual description of the given tag when found in the given IFD. | |
| ExifSupportLevel | exif_tag_get_support_level_in_ifd (ExifTag tag, ExifIfd ifd, ExifDataType t) |
| Return whether the given tag is mandatory or not in the given IFD and data type according to the EXIF specification. | |
| const char * | exif_tag_get_name (ExifTag tag) |
| const char * | exif_tag_get_title (ExifTag tag) |
| const char * | exif_tag_get_description (ExifTag tag) |
| ExifTag | exif_tag_table_get_tag (unsigned int n) |
| const char * | exif_tag_table_get_name (unsigned int n) |
| unsigned int | exif_tag_table_count (void) |
| Return the number of entries in the EXIF tag table, including the terminating NULL entry. | |
Handling EXIF tags.
Definition in file exif-tag.h.
| #define EXIF_TAG_GPS_ALTITUDE 0x0006 |
Definition at line 182 of file exif-tag.h.
| #define EXIF_TAG_GPS_ALTITUDE_REF 0x0005 |
Definition at line 181 of file exif-tag.h.
| #define EXIF_TAG_GPS_AREA_INFORMATION 0x001c |
Definition at line 204 of file exif-tag.h.
| #define EXIF_TAG_GPS_DATE_STAMP 0x001d |
Definition at line 205 of file exif-tag.h.
| #define EXIF_TAG_GPS_DEST_BEARING 0x0018 |
Definition at line 200 of file exif-tag.h.
| #define EXIF_TAG_GPS_DEST_BEARING_REF 0x0017 |
Definition at line 199 of file exif-tag.h.
| #define EXIF_TAG_GPS_DEST_DISTANCE 0x001a |
Definition at line 202 of file exif-tag.h.
| #define EXIF_TAG_GPS_DEST_DISTANCE_REF 0x0019 |
Definition at line 201 of file exif-tag.h.
| #define EXIF_TAG_GPS_DEST_LATITUDE 0x0014 |
Definition at line 196 of file exif-tag.h.
| #define EXIF_TAG_GPS_DEST_LATITUDE_REF 0x0013 |
Definition at line 195 of file exif-tag.h.
| #define EXIF_TAG_GPS_DEST_LONGITUDE 0x0016 |
Definition at line 198 of file exif-tag.h.
| #define EXIF_TAG_GPS_DEST_LONGITUDE_REF 0x0015 |
Definition at line 197 of file exif-tag.h.
| #define EXIF_TAG_GPS_DIFFERENTIAL 0x001e |
Definition at line 206 of file exif-tag.h.
| #define EXIF_TAG_GPS_DOP 0x000b |
Definition at line 187 of file exif-tag.h.
| #define EXIF_TAG_GPS_H_POSITIONING_ERROR 0x001f |
Definition at line 207 of file exif-tag.h.
| #define EXIF_TAG_GPS_IMG_DIRECTION 0x0011 |
Definition at line 193 of file exif-tag.h.
| #define EXIF_TAG_GPS_IMG_DIRECTION_REF 0x0010 |
Definition at line 192 of file exif-tag.h.
| #define EXIF_TAG_GPS_LATITUDE 0x0002 /* INTEROPERABILITY_VERSION */ |
Definition at line 178 of file exif-tag.h.
| #define EXIF_TAG_GPS_LATITUDE_REF 0x0001 /* INTEROPERABILITY_INDEX */ |
Definition at line 177 of file exif-tag.h.
| #define EXIF_TAG_GPS_LONGITUDE 0x0004 |
Definition at line 180 of file exif-tag.h.
| #define EXIF_TAG_GPS_LONGITUDE_REF 0x0003 |
Definition at line 179 of file exif-tag.h.
| #define EXIF_TAG_GPS_MAP_DATUM 0x0012 |
Definition at line 194 of file exif-tag.h.
| #define EXIF_TAG_GPS_MEASURE_MODE 0x000a |
Definition at line 186 of file exif-tag.h.
| #define EXIF_TAG_GPS_PROCESSING_METHOD 0x001b |
Definition at line 203 of file exif-tag.h.
| #define EXIF_TAG_GPS_SATELLITES 0x0008 |
Definition at line 184 of file exif-tag.h.
| #define EXIF_TAG_GPS_SPEED 0x000d |
Definition at line 189 of file exif-tag.h.
| #define EXIF_TAG_GPS_SPEED_REF 0x000c |
Definition at line 188 of file exif-tag.h.
| #define EXIF_TAG_GPS_STATUS 0x0009 |
Definition at line 185 of file exif-tag.h.
| #define EXIF_TAG_GPS_TIME_STAMP 0x0007 |
Definition at line 183 of file exif-tag.h.
| #define EXIF_TAG_GPS_TRACK 0x000f |
Definition at line 191 of file exif-tag.h.
| #define EXIF_TAG_GPS_TRACK_REF 0x000e |
Definition at line 190 of file exif-tag.h.
| #define EXIF_TAG_GPS_VERSION_ID 0x0000 |
Definition at line 176 of file exif-tag.h.
| #define EXIF_TAG_UNKNOWN_C4A5 EXIF_TAG_PRINT_IMAGE_MATCHING |
Definition at line 303 of file exif-tag.h.
| enum ExifSupportLevel |
What level of support a tag enjoys in the EXIF standard.
Definition at line 210 of file exif-tag.h.
| enum ExifTag |
EXIF tags.
Definition at line 36 of file exif-tag.h.
| ExifTag exif_tag_from_name | ( | const char * | name | ) |
Return the tag ID given its unique textual name.
| [in] | name | tag name |
Definition at line 1171 of file exif-tag.c.
References ExifTagTable, name, TagEntry::name, and TagEntry::tag.
| const char * exif_tag_get_description | ( | ExifTag | tag | ) |
Definition at line 1163 of file exif-tag.c.
References exif_tag_get_description_in_ifd(), exif_tag_get_stuff(), and tag.
Return a verbose textual description of the given tag when found in the given IFD.
The description is a verbose, localized description of the tag.
| [in] | tag | EXIF tag |
| [in] | ifd | IFD |
Definition at line 1087 of file exif-tag.c.
References _, bindtextdomain, description, EXIF_IFD_COUNT, exif_tag_table_first(), ExifTagTable, ifd, TagEntry::name, RECORDED, and tag.
Referenced by exif_tag_get_description().
| const char * exif_tag_get_name | ( | ExifTag | tag | ) |
Definition at line 1151 of file exif-tag.c.
References exif_tag_get_name_in_ifd(), exif_tag_get_stuff(), and tag.
Referenced by content_foreach_func(), content_foreach_func(), content_foreach_func(), exif_content_add_entry(), exif_data_load_data_content(), and exif_data_load_data_entry().
Return a textual name of the given tag when found in the given IFD.
The name is a short, unique, non-localized text string containing only US-ASCII alphanumeric characters.
| [in] | tag | EXIF tag |
| [in] | ifd | IFD |
Definition at line 1042 of file exif-tag.c.
References EXIF_IFD_COUNT, exif_tag_table_first(), ExifTagTable, ifd, TagEntry::name, RECORDED, and tag.
Referenced by exif_content_fix(), exif_data_load_data_content(), exif_entry_dump(), exif_entry_fix(), exif_tag_get_name(), and name().
| ExifSupportLevel exif_tag_get_support_level_in_ifd | ( | ExifTag | tag, |
| ExifIfd | ifd, | ||
| ExifDataType | t | ||
| ) |
Return whether the given tag is mandatory or not in the given IFD and data type according to the EXIF specification.
If the IFD given is EXIF_IFD_COUNT, the result is EXIF_SUPPORT_LEVEL_UNKNOWN. If the data type is EXIF_DATA_TYPE_UNKNOWN, the result is EXIF_SUPPORT_LEVEL_UNKNOWN unless the support level is the same for all data types.
| [in] | tag | EXIF tag |
| [in] | ifd | IFD or EXIF_IFD_COUNT |
| [in] | t | data type or EXIF_DATA_TYPE_UNKNOWN |
Definition at line 1260 of file exif-tag.c.
References EXIF_DATA_TYPE_COUNT, EXIF_IFD_COUNT, EXIF_SUPPORT_LEVEL_UNKNOWN, get_support_level_any_type(), get_support_level_in_ifd(), ifd, and tag.
Referenced by exif_content_fix(), remove_not_recorded(), and support_level().
| const char * exif_tag_get_title | ( | ExifTag | tag | ) |
Definition at line 1157 of file exif-tag.c.
References exif_tag_get_stuff(), exif_tag_get_title_in_ifd(), and tag.
Return a textual title of the given tag when found in the given IFD.
The title is a short, localized description of the tag.
| [in] | tag | EXIF tag |
| [in] | ifd | IFD |
Definition at line 1064 of file exif-tag.c.
References _, bindtextdomain, EXIF_IFD_COUNT, exif_tag_table_first(), ExifTagTable, ifd, TagEntry::name, RECORDED, tag, and title.
Referenced by exif_tag_get_title().
| unsigned int exif_tag_table_count | ( | void | ) |
Return the number of entries in the EXIF tag table, including the terminating NULL entry.
Definition at line 977 of file exif-tag.c.
References ExifTagTable.
Referenced by exif_content_fix(), exif_tag_table_first(), exif_tag_table_get_name(), exif_tag_table_get_tag(), and main().
| const char * exif_tag_table_get_name | ( | unsigned int | n | ) |
Definition at line 990 of file exif-tag.c.
References exif_tag_table_count(), ExifTagTable, and TagEntry::name.
Referenced by main().
| ExifTag exif_tag_table_get_tag | ( | unsigned int | n | ) |
Definition at line 984 of file exif-tag.c.
References exif_tag_table_count(), ExifTagTable, and TagEntry::tag.
Referenced by exif_content_fix(), and main().