#101 dumping of GPSLatitudeRef/GPSLatitude

closed-fixed
libexif (61)
5
2010-09-23
2010-09-22
No

(Not sure if this is an exif or libexif bug.)
exif --ifd=GPS --tag=0x01 somefile.jpg returns:
EXIF entry 'North or South Latitude' (0x1, 'GPSLatitudeRef') exists in IFD 'GPS':
Tag: 0x1 ('InteroperabilityIndex')
Format: 2 ('ASCII')
Components: 2
Size: 2
Value: N

The first line is OK, as the code correctly honours the GPS IFD, but the rest of the dump has gotten mixed up with the Interoperability IFD, as it calls exif_entry_dump() which is really obsoleted since it ignores IFD. Like other libexif functions, it should probably be replaced by something like "exif_entry_dump_with_ifd()" .

NB The same probem will of course appear for tag 0x02 which also overlaps between IFDs.

Cheers, Henrik

Discussion

  • Dan Fandrich

    Dan Fandrich - 2010-09-23
    • labels: 722605 --> libexif
    • status: open --> open-accepted
     
  • Dan Fandrich

    Dan Fandrich - 2010-09-23

    exif_entry_dump() is really intended as more of a debug function, but you're right in that it's displaying the wrong name. There are a few functions like this still left that need an IFD passed in.

     
  • Dan Fandrich

    Dan Fandrich - 2010-09-23

    Fixed in CVS.

     
  • Dan Fandrich

    Dan Fandrich - 2010-09-23
    • assigned_to: nobody --> dfandrich
    • status: open-accepted --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks