-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iptc.Application2.Keywords problem #18
Comments
I haven't used this tag, and I'm trying to assign it: >>> img.modify_iptc({'Iptc.Application2.Keywords': ['hello', 'world']})
>>> img.read_iptc()['Iptc.Application2.Keywords']
'hello, world' Do you want it to return a list of string, |
The list would be better! |
|
I will improve the code this weekend. |
I've improved the code so that it can read and write duplicate IPTC keys now. Sample: >>> from pyexiv2 import Image
>>> img = Image(r'.\pyexiv2\tests\1.jpg')
>>> img.modify_iptc({'Iptc.Application2.Keywords': ['tag1', 'tag2', 'tag3']})
>>> img.read_iptc()['Iptc.Application2.Keywords']
['tag1', 'tag2', 'tag3']
>>> img.close() |
I have released a new version, v2.2.0, please try it. |
Thanks! It works!!! |
This issue has been automatically closed because there has been no activity for a month. |
Iptc.Application2.Keywords returs only one keyword, although there are several keywords in the image.
The text was updated successfully, but these errors were encountered: