Project

General

Profile

Small patch to parse TIFF PageNumber » Exif.Image.PageNumber.patch

Mario Emmenlauer, 24 Mar 2015 13:16

View differences:

libsrc/exiv2/exiv2/tags.cpp Sat Jan 10 00:38:57 2015 +0100 → libsrc/exiv2/exiv2/tags.cpp Tue Mar 24 14:11:25 2015 +0100
531 531
                "unit is used for both <XResolution> and <YResolution>. If "
532 532
                "the image resolution is unknown, 2 (inches) is designated."),
533 533
                ifd0Id, imgStruct, unsignedShort, 1, printExifUnit),
534
        TagInfo(0x0129, "PageNumber", N_("Page Number"),
535
                N_("The page number of the page from which this image was scanned."),
536
                ifd0Id, imgStruct, unsignedShort, 2, printValue),
534 537
        TagInfo(0x012d, "TransferFunction", N_("Transfer Function"),
535 538
                N_("A transfer function for the image, described in tabular style. "
536 539
                "Normally this tag is not necessary, since color space is "
libsrc/exiv2/exiv2/tiffimage.cpp Sat Jan 10 00:38:57 2015 +0100 → libsrc/exiv2/exiv2/tiffimage.cpp Tue Mar 24 14:11:25 2015 +0100
2115 2115
            { 0x0124, ifd0Id }, // Exif.Image.T4Options
2116 2116
            { 0x0125, ifd0Id }, // Exif.Image.T6Options
2117 2117
            { 0x0128, ifd0Id }, // Exif.Image.ResolutionUnit
2118
            { 0x0129, ifd0Id }, // Exif.Image.PageNumber
2118 2119
            { 0x012d, ifd0Id }, // Exif.Image.TransferFunction
2119 2120
            { 0x013d, ifd0Id }, // Exif.Image.Predictor
2120 2121
            { 0x013e, ifd0Id }, // Exif.Image.WhitePoint
    (1-1/1)