Tagging XMP and Python

If I were to tag a bunch of images through XMP in Python, what would be the best way? I used Perl Image :: ExifTool , and I'm very used to its reliability. I mean, that has never been pasted onto tens of thousands of images.

I found this one , backed up by some heavy hitters such as the European Space Agency, but it is clearly labeled as unstable.

Now, assuming I'm comfortable with C ++, how easy is it to, say, use the Adobe XMP toolkit directly in Python? I have never done this before, I'm not sure why I would subscribe.

Update: . I tried some libraries there, including the aforementioned toolkit, they are still quite immature and have dazzling problems. I resorted to writing on a Perl server that accepts XML requests to read and write metadata using a battle-tested :: EXIF ​​image. The amount of code is actually very light and certainly beats trying to get Python libraries to work. The server solution is agnostic, so it is two-way.

+3
source share
4 answers

, - , python-xmp-toolkit exempi, Adobe XMP, ctypes. , ++ . (.. ), , , , .

, . , ++ C Cython . , SWIG, , .

+4

python-xmp-toolkit ExifTool.

Ruby, ExifTool ( , ); , Python XMP.

+4

ImageMagic convert, Python.

0

Python 3.x py3exiv2, XMP

py3exiv2 , XMP , .

, py3exiv2, , (ex-2) exiv2

( )

0

Source: https://habr.com/ru/post/1702550/


All Articles