exiv2 -pa output
NewSubfileType Long 1 "Primary image"
ImageWidth Short 1 "9"
ImageLength Short 1 "9"
BitsPerSample Short 3 "8 8 8"
Compression Short 1 "Uncompressed"
PhotometricInterpretation Short 1 "RGB"
DocumentName Ascii 24 "/home/ahuggel/mini9.tif"
ImageDescription Ascii 18 "Created with GIMP"
StripOffsets Long 1 "8"
Orientation Short 1 "top, left"
SamplesPerPixel Short 1 "3"
RowsPerStrip Short 1 "64"
StripByteCounts Long 1 "243"
XResolution Rational 1 "72"
YResolution Rational 1 "72"
PlanarConfiguration Short 1 "1"
ResolutionUnit Short 1 "inch"
exiv2 -pS output
NewSubfileType LONG 1 "0"
ImageWidth SHORT 1 "9"
ImageLength SHORT 1 "9"
BitsPerSample SHORT 3 "8 8 8"
Compression SHORT 1 "1"
PhotometricInterpretation SHORT 1 "2"
DocumentName ASCII 24 "/home/ahuggel/mini9.tif"
ImageDescription ASCII 18 "Created with GIMP"
StripOffsets LONG 1 "8"
Orientation SHORT 1 "1"
SamplesPerPixel SHORT 1 "3"
RowsPerStrip SHORT 1 "64"
StripByteCounts LONG 1 "243"
XResolution RATIONAL 1 "1207959552/16777216"
YResolution RATIONAL 1 "1207959552/16777216"
PlanarConfiguration SHORT 1 "1"
ResolutionUnit SHORT 1 "2"
Analysis
count = 17 COUNT = 17
Test 1: Writing empty Exif data without original binary data: ok.
Test 2: Writing empty Exif data with original binary data: ok.
Test 3: Wrote non-empty Exif data without original binary data:
Exif.Image.ExifTag 0x8769 Long 1 26
Exif.Photo.DateTimeOriginal 0x9003 Ascii 18 Yesterday at noon
MIME type: image/tiff
Image size: 9 x 9
Before
Exif.Image.NewSubfileType 0x00fe Long 1 0
Exif.Image.ImageWidth 0x0100 Short 1 9
Exif.Image.ImageLength 0x0101 Short 1 9
Exif.Image.BitsPerSample 0x0102 Short 3 8 8 8
Exif.Image.Compression 0x0103 Short 1 1
Exif.Image.PhotometricInterpretation 0x0106 Short 1 2
Exif.Image.DocumentName 0x010d Ascii 24 /home/ahuggel/mini9.tif
Exif.Image.ImageDescription 0x010e Ascii 18 Created with GIMP
Exif.Image.StripOffsets 0x0111 Long 1 8
Exif.Image.Orientation 0x0112 Short 1 1
Exif.Image.SamplesPerPixel 0x0115 Short 1 3
Exif.Image.RowsPerStrip 0x0116 Short 1 64
Exif.Image.StripByteCounts 0x0117 Long 1 243
Exif.Image.XResolution 0x011a Rational 1 1207959552/16777216
Exif.Image.YResolution 0x011b Rational 1 1207959552/16777216
Exif.Image.PlanarConfiguration 0x011c Short 1 1
Exif.Image.ResolutionUnit 0x0128 Short 1 2
======
After
Exif.Image.NewSubfileType 0x00fe Long 1 0
Exif.Image.ImageWidth 0x0100 Short 1 9
Exif.Image.ImageLength 0x0101 Short 1 9
Exif.Image.BitsPerSample 0x0102 Short 3 8 8 8
Exif.Image.Compression 0x0103 Short 1 1
Exif.Image.PhotometricInterpretation 0x0106 Short 1 2
Exif.Image.DocumentName 0x010d Ascii 24 /home/ahuggel/mini9.tif
Exif.Image.ImageDescription 0x010e Ascii 18 Created with GIMP
Exif.Image.StripOffsets 0x0111 Long 1 8
Exif.Image.Orientation 0x0112 Short 1 1
Exif.Image.SamplesPerPixel 0x0115 Short 1 3
Exif.Image.RowsPerStrip 0x0116 Short 1 64
Exif.Image.StripByteCounts 0x0117 Long 1 243
Exif.Image.XResolution 0x011a Rational 1 1207959552/16777216
Exif.Image.YResolution 0x011b Rational 1 1207959552/16777216
Exif.Image.PlanarConfiguration 0x011c Short 1 1
Exif.Image.ResolutionUnit 0x0128 Short 1 2
Exif.Photo.DateTimeOriginal 0x9003 Ascii 18 Yesterday at noon
exiv2 -pa output
NewSubfileType Long 1 "Primary image"
ImageWidth Short 1 "9"
ImageLength Short 1 "9"
BitsPerSample Short 3 "8 8 8"
Compression Short 1 "Uncompressed"
PhotometricInterpretation Short 1 "RGB"
DocumentName Ascii 24 "/home/ahuggel/mini9.tif"
ImageDescription Ascii 18 "Created with GIMP"
StripOffsets Long 1 "330"
Orientation Short 1 "top, left"
SamplesPerPixel Short 1 "3"
RowsPerStrip Short 1 "64"
StripByteCounts Long 1 "243"
XResolution Rational 1 "72"
YResolution Rational 1 "72"
PlanarConfiguration Short 1 "1"
ResolutionUnit Short 1 "inch"
ExifTag Long 1 "294"
DateTimeOriginal Ascii 18 "Yesterday at noon"
exiv2 -pS output
NewSubfileType LONG 1 "0"
ImageWidth SHORT 1 "9"
ImageLength SHORT 1 "9"
BitsPerSample SHORT 3 "8 8 8"
Compression SHORT 1 "1"
PhotometricInterpretation SHORT 1 "2"
DocumentName ASCII 24 "/home/ahuggel/mini9.tif"
ImageDescription ASCII 18 "Created with GIMP"
StripOffsets LONG 1 "330"
Orientation SHORT 1 "1"
SamplesPerPixel SHORT 1 "3"
RowsPerStrip SHORT 1 "64"
StripByteCounts LONG 1 "243"
XResolution RATIONAL 1 "1207959552/16777216"
YResolution RATIONAL 1 "1207959552/16777216"
PlanarConfiguration SHORT 1 "1"
ResolutionUnit SHORT 1 "2"
ExifTag LONG 1 "294"
Analysis
count = 19 COUNT = 18
TAG DateTimeOriginal mismatch
TYPE ASCII mismatch
Length 18 mismatch
Value Yesterday at noon mismatch