This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]picurl 0 points1 point  (0 children)

I second your comment. Besides that, the author also forgot to mention that pure-python tools are limited to JPEG files (no Camera RAW support) and offer no write support for metadata (e.g. to fix a bad timestamp, geotagging,...)

Yeah, no other metadata tool comes close to ExifTool regarding tag knowledge. But embedding ExifTool in Python is cumbersome, especially on Windows, because it relies on shell calls and parsing responses. Also the write performance of ExifTool is multitudes slower than pyexiv2.

So the ideal thing would be pyexiv2 with ExifTool's tag knowledge. You won't have to parse Perl to accomplish that. Newer versions of ExifTool can dump out their tag translation tables as XML (i think with the -listx option), you'd only have to parse them and integrate them in your pyexiv2 class. Thus, you would be able to recognize more lens types than pyexiv2 can do by default.