diff options
author | Dirk Farin <farin@struktur.de> | 2019-07-01 15:52:33 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2019-07-25 14:39:04 +0200 |
commit | 10089385f2c6503ca8af38b72e81d2a2121b8f27 (patch) | |
tree | dd552d2d21f91ae8b7637596423ab931dccd77db | |
parent | e50f382aef6c006889602b2bbb03cf0634318f2b (diff) | |
download | libexif-10089385f2c6503ca8af38b72e81d2a2121b8f27.tar.gz libexif-10089385f2c6503ca8af38b72e81d2a2121b8f27.tar.bz2 libexif-10089385f2c6503ca8af38b72e81d2a2121b8f27.zip |
add new tags from Exif 2.3 specification
-rw-r--r-- | libexif/exif-tag.c | 28 | ||||
-rw-r--r-- | libexif/exif-tag.h | 6 |
2 files changed, 34 insertions, 0 deletions
diff --git a/libexif/exif-tag.c b/libexif/exif-tag.c index 4047cd1..8e4ae4d 100644 --- a/libexif/exif-tag.c +++ b/libexif/exif-tag.c @@ -866,6 +866,34 @@ static const struct TagEntry { "each image. It is recorded as an ASCII string equivalent " "to hexadecimal notation and 128-bit fixed length."), { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, + /* EXIF 2.3 */ + {EXIF_TAG_CAMERA_OWNER_NAME, "CameraOwnerName", N_("Camera Owner Name"), + N_("This tag indicates the name of the camera owner, " + "photographer or image creator."), + { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, + /* EXIF 2.3 */ + {EXIF_TAG_BODY_SERIAL_NUMBER, "BodySerialNumber", N_("Body Serial Number"), + N_("This tag indicates the serial number of the body of the camera"), + { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, + /* EXIF 2.3 */ + {EXIF_TAG_LENS_SPECIFICATION, "LensSpecification", N_("Lens Specification"), + N_("This tag indicates minimum focal length, " + "maximum focal length, minimum F number in the " + "minimum focal length, and minimum F number in " + "the maximum focal length."), + { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, + /* EXIF 2.3 */ + {EXIF_TAG_LENS_MAKE, "LensMake", N_("Lens Make"), + N_("This tag indicates the lens manufacturer."), + { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, + /* EXIF 2.3 */ + {EXIF_TAG_LENS_MODEL, "LensModel", N_("Lens Model"), + N_("This tag indicates the lens' model name and model number."), + { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, + /* EXIF 2.3 */ + {EXIF_TAG_LENS_SERIAL_NUMBER, "LensSerialNumber", N_("Lens Serial Number"), + N_("This tag indicates the serial number of the interchangeable lens."), + { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, /* Not in EXIF 2.2 */ {EXIF_TAG_GAMMA, "Gamma", N_("Gamma"), N_("Indicates the value of coefficient gamma."), diff --git a/libexif/exif-tag.h b/libexif/exif-tag.h index dd444da..52dcc3d 100644 --- a/libexif/exif-tag.h +++ b/libexif/exif-tag.h @@ -146,6 +146,12 @@ typedef enum { EXIF_TAG_DEVICE_SETTING_DESCRIPTION = 0xa40b, EXIF_TAG_SUBJECT_DISTANCE_RANGE = 0xa40c, EXIF_TAG_IMAGE_UNIQUE_ID = 0xa420, + EXIF_TAG_CAMERA_OWNER_NAME = 0xa430, + EXIF_TAG_BODY_SERIAL_NUMBER = 0xa431, + EXIF_TAG_LENS_SPECIFICATION = 0xa432, + EXIF_TAG_LENS_MAKE = 0xa433, + EXIF_TAG_LENS_MODEL = 0xa434, + EXIF_TAG_LENS_SERIAL_NUMBER = 0xa435, EXIF_TAG_GAMMA = 0xa500, EXIF_TAG_PRINT_IMAGE_MATCHING = 0xc4a5, EXIF_TAG_PADDING = 0xea1c |