From 8ab163647d39620f595fb58af9f7d0acdf2dbce6 Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Tue, 24 Mar 2015 20:31:37 +0000 Subject: [PATCH] #1044. Thank you Mario for reporting this an providing a patch. Thank You for Thomas for validating this fix. --- src/tags.cpp | 3 +++ src/tiffimage.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/src/tags.cpp b/src/tags.cpp index e7e8ef12..82cf7ccf 100644 --- a/src/tags.cpp +++ b/src/tags.cpp @@ -534,6 +534,9 @@ namespace Exiv2 { "unit is used for both and . If " "the image resolution is unknown, 2 (inches) is designated."), ifd0Id, imgStruct, unsignedShort, 1, printExifUnit), + TagInfo(0x0129, "PageNumber", N_("Page Number"), + N_("The page number of the page from which this image was scanned."), + ifd0Id, imgStruct, unsignedShort, 2, printValue), TagInfo(0x012d, "TransferFunction", N_("Transfer Function"), N_("A transfer function for the image, described in tabular style. " "Normally this tag is not necessary, since color space is " diff --git a/src/tiffimage.cpp b/src/tiffimage.cpp index 962c74cf..84e2fe97 100644 --- a/src/tiffimage.cpp +++ b/src/tiffimage.cpp @@ -2123,6 +2123,7 @@ namespace Exiv2 { { 0x0124, ifd0Id }, // Exif.Image.T4Options { 0x0125, ifd0Id }, // Exif.Image.T6Options { 0x0128, ifd0Id }, // Exif.Image.ResolutionUnit + { 0x0129, ifd0Id }, // Exif.Image.PageNumber { 0x012d, ifd0Id }, // Exif.Image.TransferFunction { 0x013d, ifd0Id }, // Exif.Image.Predictor { 0x013e, ifd0Id }, // Exif.Image.WhitePoint