"David Fawcett" <[EMAIL PROTECTED]> writes: > I know that there are several python modules out there for > extracting EXIF data from images. > > Has anyone used one or more of these? Any recommendations on a > particular module?
I tried an EXIF.py a few years ago, but it didn't work out. I think it didn't handle GPS tags. I ended up making a wrapper around exiv2 invocations, which seemed a bit silly but it got the job done better than anything I could find. Were I to start now, I would probably try pyexiv2 first, but I haven't. http://tilloy.net/dev/pyexiv2/ My gps-tags-only exiv2 wrapper: http://www.sethoscope.net/geophoto/geoexif.py You almost certainly don't want it as a general EXIF wrapper, but it might be handy for the bits that translate to and from the EXIF data formats. (e.g. 122418787/1000000 + "W" <-> -122.418787) (An old version of exiv2 would need an old version of the wrapper. They changed the command line flags and output format a while back.) I've been using Tamás Gulácsi's iptcinfo.py for IPTC. _______________________________________________ Geowanking mailing list [email protected] http://lists.burri.to/mailman/listinfo/geowanking
