用python对jpeg图像进行地理标记的最佳方法是什么? [英] What is the best way to geotag jpeg-images with python?
问题描述
我有一些来源的坐标,并想用它们标记我的jpg文件.将地理标记写入exif数据的最佳python库是什么?
I have coordinates from some source and want to tag my jpg files with them. What is the best python library for writing geotags into exif data?
推荐答案
pexif 以地理标记为目标(我的重点):
pexif was written with geotags as a goal (my emphasis):
pexif是一个Python库,用于解析和更重要的是编辑JPEG文件中的EXIF数据.
pexif is a Python library for parsing and more importantly editing EXIF data in JPEG files.
这是出于向我的图像添加GPS标记数据的需要而产生的,不幸的是,那里的其他库无法进行更新,并且似乎不容易构建为能够添加这样的库.事物.不是可重用的软件!
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.
这篇关于用python对jpeg图像进行地理标记的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!