Re: How to get an exif value in Python



Am Donnerstag, den 26.02.2015, 22:21 +0100 schrieb Fliggs:
Hello everybody,

Hi!

i am just sitting some hours on this problem now, and i can't get it solved:
- how can i access an exif tag from a python plugin?

I a not able to get the exifdata like this:

myimage = window.get_image()
myexifdata = myimage.get_exif_info()

get_exif_info() is an unknown function...

What am i doing wrong?

Thanks for your help!

You're not doing anything wrong. The Exif data is not currently
available via the Python interface, as we don't have a Python interface
to libexif.

We once attempted to wrap the ExifData object into a GObject container
but to be useful we would have had to replicate big chunks of libexif's
API.

I am not sure if it makes sense to start another attempt at it right
now, since I'd rather switch to (g)Exiv2 anyway, which would also
produce Python bindings.

Regards

Felix



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]