Project

General

Profile

Bug #730

Error reading exif tag created by Windows 7

Added by Adonai Canez about 11 years ago. Updated about 11 years ago.

Status:
Rejected
Priority:
High
Category:
exif
Start date:
24 Sep 2010
Due date:
% Done:

0%

Estimated time:

Description

By inserting the tag exif windows 7, the library's exif2 error trying to read the files.
Attached is the example


Files

exiv2_error.tar.gz (10.8 MB) exiv2_error.tar.gz Adonai Canez, 24 Sep 2010 07:18

History

#1

Updated by Andreas Huggel about 11 years ago

  • Status changed from New to Rejected

Windows writes these tags as XMP metadata - not Exif. The exifprint.cpp sample program only prints Exif metadata, not XMP.
Below is the output that I see with the current trunk version of exiv2, I don't get any error, nor a crash.
Closing this issue, feel free to re-open it with more info about an actual error/crash.

$ exiv2 -pa 'DSCN5512 - Modified by Windows 7.JPG' 
Exif.Image.ImageDescription                  Ascii      11  Test Exiv2
Exif.Image.Make                              Ascii       6  NIKON
Exif.Image.Model                             Ascii      14  COOLPIX L100 
Exif.Image.Orientation                       Short       1  top, left
Exif.Image.XResolution                       Rational    1  300
Exif.Image.YResolution                       Rational    1  300
Exif.Image.ResolutionUnit                    Short       1  inch
Exif.Image.Software                          Ascii      32  COOLPIX L100V1.1               
Exif.Image.DateTime                          Ascii      20  2010:09:20 15:03:19
Exif.Image.YCbCrPositioning                  Short       1  Co-sited
Exif.Image.ExifTag                           Long        1  2342
Exif.Photo.ExposureTime                      Rational    1  1/362 s
Exif.Photo.FNumber                           Rational    1  F7
Exif.Photo.ExposureProgram                   Short       1  Auto
Exif.Photo.ISOSpeedRatings                   Short       1  80
Exif.Photo.ExifVersion                       Undefined   4  2.20
Exif.Photo.DateTimeOriginal                  Ascii      20  2010:09:20 15:03:19
Exif.Photo.DateTimeDigitized                 Ascii      20  2010:09:20 15:03:19
Exif.Photo.ComponentsConfiguration           Undefined   4  YCbCr
Exif.Photo.CompressedBitsPerPixel            Rational    1  4
Exif.Photo.ExposureBiasValue                 SRational   1  0 EV
Exif.Photo.MaxApertureValue                  Rational    1  F3.5
Exif.Photo.MeteringMode                      Short       1  Multi-segment
Exif.Photo.LightSource                       Short       1  Unknown
Exif.Photo.Flash                             Short       1  No, compulsory
Exif.Photo.FocalLength                       Rational    1  5.0 mm
Exif.Photo.MakerNote                         Undefined 14376  (Binary value suppressed)
Exif.MakerNote.Offset                        Long        1  4940
Exif.MakerNote.ByteOrder                     Ascii       3  II
Exif.Nikon3.Version                          Undefined   4  ()
Exif.Nikon3.ISOSpeed                         Short       2  0
Exif.Nikon3.ColorMode                        Ascii       6  COLOR
Exif.Nikon3.Quality                          Ascii       8  FINE   
Exif.Nikon3.WhiteBalance                     Ascii      14  AUTO         
Exif.Nikon3.Sharpening                       Ascii       8  AUTO   
Exif.Nikon3.Focus                            Ascii       8  (AF-S   )
Exif.Nikon3.FlashSetting                     Ascii       8         
Exif.Nikon3.WhiteBalanceBias                 SShort      1  0
Exif.Nikon3.ISOSelection                     Ascii       8  AUTO   
Exif.Nikon3.DataDump                         Undefined 2542  (Binary value suppressed)
Exif.Nikon3.Preview                          Long        1  3374
Exif.NikonPreview.Compression                Short       1  JPEG (old-style)
Exif.NikonPreview.XResolution                Rational    1  300
Exif.NikonPreview.YResolution                Rational    1  300
Exif.NikonPreview.ResolutionUnit             Short       1  inch
Exif.NikonPreview.JPEGInterchangeFormat      Long        1  3480
Exif.NikonPreview.JPEGInterchangeFormatLength Long        1  10886
Exif.NikonPreview.YCbCrPositioning           Short       1  Co-sited
Exif.Nikon3.ImageProcessing                  Ascii      40                                        
Exif.Nikon3.ImageAdjustment                  Ascii      14  AUTO         
Exif.Nikon3.AuxiliaryLens                    Ascii      14  OFF          
Exif.Nikon3.FocusDistance                    Rational    1  Unknown
Exif.Nikon3.DigitalZoom                      Rational    1  1.0x
Exif.NikonAf.AFAreaMode                      Byte        1  Single Area
Exif.NikonAf.AFPoint                         Byte        1  Center
Exif.NikonAf.AFPointsInFocus                 Short       1  
Exif.Nikon3.SceneMode                        Ascii      16                 
Exif.Nikon3.ShotInfo                         Undefined  18  0 0 0 0 0 0 0 0 0 0 0 0 0 0 68 67 1 0
Exif.Nikon3.Saturation                       SShort      1  0
Exif.Nikon3.NoiseReduction                   Ascii       6  OFF  
Exif.Nikon3.SceneAssist                      Ascii      20                     
Exif.Nikon3.RetouchHistory                   Short       6  0 0 0 0 0 0
Exif.Nikon3.FlashInfo                        Undefined  20  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Exif.Nikon3.ImageStabilization               Ascii      14  VR-ON       
Exif.Photo.UserComment                       Undefined 126                                                                                                                       
Exif.Photo.FlashpixVersion                   Undefined   4  1.00
Exif.Photo.ColorSpace                        Short       1  sRGB
Exif.Photo.PixelXDimension                   Long        1  3648
Exif.Photo.PixelYDimension                   Long        1  2736
Exif.Photo.InteroperabilityTag               Long        1  19442
Exif.Iop.InteroperabilityVersion             Undefined   4  1.00
Exif.Photo.FileSource                        Undefined   1  Digital still camera
Exif.Photo.SceneType                         Undefined   1  Directly photographed
Exif.Photo.CustomRendered                    Short       1  Normal process
Exif.Photo.ExposureMode                      Short       1  Auto
Exif.Photo.WhiteBalance                      Short       1  Auto
Exif.Photo.DigitalZoomRatio                  Rational    1  0.0
Exif.Photo.FocalLengthIn35mmFilm             Short       1  28.0 mm
Exif.Photo.SceneCaptureType                  Short       1  Standard
Exif.Photo.GainControl                       Short       1  Low gain up
Exif.Photo.Contrast                          Short       1  Normal
Exif.Photo.Saturation                        Short       1  Normal
Exif.Photo.Sharpness                         Short       1  Normal
Exif.Photo.SubjectDistanceRange              Short       1  Unknown
Exif.Image.GPSTag                            Long        1  19470
Exif.GPSInfo.GPSLatitudeRef                  Ascii       2  South
Exif.GPSInfo.GPSLatitude                     Rational    3  31deg 45' 2.356" 
Exif.GPSInfo.GPSLongitudeRef                 Ascii       2  West
Exif.GPSInfo.GPSLongitude                    Rational    3  52deg 19' 45.208" 
Exif.GPSInfo.GPSAltitudeRef                  Byte        1  Above sea level
Exif.GPSInfo.GPSAltitude                     SRational   1  9.3 m
Exif.Image.XPTitle                           Byte       22  Test Exiv2
Exif.Thumbnail.Compression                   Short       1  JPEG (old-style)
Exif.Thumbnail.XResolution                   Rational    1  300
Exif.Thumbnail.YResolution                   Rational    1  300
Exif.Thumbnail.ResolutionUnit                Short       1  inch
Exif.Thumbnail.JPEGInterchangeFormat         Long        1  19722
Exif.Thumbnail.JPEGInterchangeFormatLength   Long        1  5466
Xmp.dc.title                                 LangAlt     1  lang="x-default" Test Exiv2
Xmp.dc.description                           LangAlt     1  lang="x-default" Test Exiv2
Xmp.xmpMM.InstanceID                         XmpText    41  uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b

Also available in: Atom PDF