Answer the question
In order to leave comments, you need to log in
How to set tEXtComment inside PNG file using PYTHON PIL?
In the PNG, GIF, TIFF, JPG and some other file formats, it is possible to add text labels inside the file.
In the libraries PIL and PILLOW for Python, functions for working with such labels were not found. There are functions for reading EXIF tags (PIL.ExifTags.TAGS) and info (PIL.image.info). The latter seems to be exactly what you need. But you do not need to read info, but write it down. Has anyone faced such a task?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question