Menu ▾ ▴

#100 exif_tag_from_name("GPSVersionID")

open-accepted
nobody
libexif (62)
5
2010-09-23
2010-09-22
No

Calling exif_tag_from_name("GPSVersionID") will always fail, as GPSVersionID has tag value 0, which - unfortunately - is also the "not found" error return indicator from exif_tag_from_name().
Easily reproduced with "exif --ifd=GPS --tag=GPSVersionID xyz.jpg"

Discussion

  • Dan Fandrich

    Dan Fandrich - 2010-09-23

    You can actually see the GPSVersionID tag by specifying --tag=0 on the command line, but yes, this is a problem with exif_tag_from_name().

     
  • Dan Fandrich

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

Log in to post a comment.