Exif reading library

后端 未结 2 895
难免孤独
难免孤独 2021-01-02 17:21

Is there an exif library out there for Python 3.x? It seems every exif library I run into is for Python 2.x only. I don\'t need anything too fancy. Just reading the values i

2条回答
  •  孤独总比滥情好
    2021-01-02 18:12

    For reference, the pyexiv2 homepage now has a deprecation warning which points to Gexiv2, a GObject-introspection based wrapper around libexiv2 (the same library pyexiv2 wraps) specifically for the purpose of Python 3.x support.

    Unfortunately, at the time of writing, installation of Gexiv2 is still painful and thus far I've been unable to get it working on Ubuntu Precise (looks like the libs are out of date - probably serves me right for sticking around on an LTS...), so PIL is still the best option for reading EXIF tags in Python 3.

提交回复
热议问题