pexif is a Python library for parsing and more importantly editing EXIF data in JPEG files.
This grew out of a need to add GPS tagged data to my images, Unfortunately the other libraries out there couldn't do updates and didn't seem easily architectured to be able to add such a thing. Ain't reusable software grand!
My main reason for writing this was to provide an easy way for geo-tagging my photos, and the library now seems mature enough to do that.
我自己没有试过,但从文档[pyexiv2][1]来看,它应该能完成这项工作。
[1]:http://tilloy.net/dev/pyexiv2/tutorial.html链接缺少最后一个字符
下面是一个如何使用pyexiv2库设置GPS位置的示例。我通过将地理标记的图像上传到Panoramio来测试这个脚本
pexif是以geotags为目标编写的(我的重点是):
相关问题 更多 >
编程相关推荐