Added tag 0xEA1C, the Padding tag from the Microsoft HD Photo
authorDan Fandrich <dan@coneharvesters.com>
Fri, 11 Dec 2009 08:13:19 +0000 (00:13 -0800)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 11 Dec 2009 08:13:19 +0000 (00:13 -0800)
specification.

ChangeLog
libexif/exif-tag.c
libexif/exif-tag.h

index 59774e4..02791b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-11  Dan Fandrich <dan@coneharvesters.com>
+
+       * Added tag 0xEA1C, the Padding tag from the Microsoft HD Photo
+         specification.
+
 2009-12-08  Dan Fandrich <dan@coneharvesters.com>
 
        * Fixed some memory leaks in the write-exif.c example program and
index 0ce9ffb..bde586a 100644 (file)
@@ -860,6 +860,14 @@ static const struct TagEntry {
        /* Not in EXIF 2.2 */
        {EXIF_TAG_PRINT_IMAGE_MATCHING, "PrintImageMatching", N_("PRINT Image Matching"),
         N_("Related to Epson's PRINT Image Matching technology")},
+       /* Not in EXIF 2.2 (from the Microsoft HD Photo specification) */
+       {EXIF_TAG_PADDING, "Padding", N_("Padding"),
+        N_("This tag reserves space that can be reclaimed later when "
+            "additional metadata are added. New metadata can be written "
+            "in place by replacing this tag with a smaller data element "
+            "and using the reclaimed space to store the new or expanded "
+            "metadata tags."),
+        { ESL_OOOO, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } },
 #endif
        {0, NULL, NULL, NULL}
 };
index 936de40..5e5f43a 100644 (file)
@@ -147,7 +147,8 @@ typedef enum {
        EXIF_TAG_SUBJECT_DISTANCE_RANGE         = 0xa40c,
        EXIF_TAG_IMAGE_UNIQUE_ID                = 0xa420,
        EXIF_TAG_GAMMA                          = 0xa500,
-       EXIF_TAG_PRINT_IMAGE_MATCHING           = 0xc4a5
+       EXIF_TAG_PRINT_IMAGE_MATCHING           = 0xc4a5,
+       EXIF_TAG_PADDING                        = 0xea1c
 } ExifTag;
 
 /* GPS tags overlap with above ones. */