For use when discussing any issue related to the `iptcinfo` libraries including `iptcinfo3` that are available in Python and other languages.
Questions tagged [iptcinfo]
6 questions
3
votes
2 answers
How to append keywords to IPTC data in a JPG image?
I'm trying to add keywords to the IPTC data in a JPG file and failing miserably. I'm able to read in the keywords using the iptcinfo3 library and, seemingly, append the keyword to the list of current keywords but I'm failing when trying to write…

Scott
- 31
- 1
- 4
1
vote
1 answer
Python TypeError: 'bytes' object cannot be interpreted as an integer. How to add 'bytes'?
I got an error TypeError: 'bytes' object cannot be interpreted as an integer when I use save, what to do to make it right?
I want to save in same image, not to create a new one.
from iptcinfo3 import IPTCInfo
import sys
imagename = 'horse.jpg'
info…

project.py
- 107
- 1
- 4
- 19
1
vote
0 answers
IPTCInfo keywords error - not all keywords displayed
I am trying to get the keywords from the metadata of an image using the IPTCInfo3 python library. The keyword tags for the images on windows (right clicking the image, going to the details tab) are:
Capital Cities; Travel; Tourism; Building…

BigBlueMonster
- 65
- 4
1
vote
2 answers
IPTCInfo on Python 3.x Windows
I need to extract IPTC metadata from images. Most of the things I've read about Python packages on Windows suggest using pre-compiled binaries, but I don't see one for IPTCInfo, thus I tried pip3.
I'm getting an error from pip when trying to install…

Hack-R
- 22,422
- 14
- 75
- 131
0
votes
1 answer
How to remove tails from images when adding metadata with iptcinfo3 (python)?
I'm working with from iptcinfo3, IPTCInfo. When I save metadata to the image, code below...
info = IPTCInfo(image_file, force=True)
adding metadata...
...
after that I save...
info.save()
and this is when new file is created that has ~. These files…

mdev
- 21
- 7
0
votes
1 answer
IPTCInfo change keywords without quotation marks
I try to change the keywords for some pics, with a csv file that has the nessescary data.
The problem is that I can't change the keywords without getting quotation marks into the array element(see: "b'Fallow_deer'") .
I hope someone can help.
code

Lars-
- 1