-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
TIFF EXIF data is not updated when saving image #6334
Copy link
Copy link
Closed
Description
What did you do?
Tried to add 'Artist' and 'Copyright' exif fields to artwork.tiff
What did you expect to happen?
Exif to be saved and viewable for artwork.tiff.
What actually happened?
Exif data was not updated and loading the image with Pillow again also didn't show the updated data.
What are your OS, Python and Pillow versions?
- OS: Linux
- Python: 3.10.4
- Pillow: 9.1.1
img = Image.open("artwork.tiff")
exif = img.getexif()
exif[0x8298] = "test"
exif[0x013B] = "test"
img.save("artwork.tiff", exif=exif)artwork.zip
The tiff in the zip above was created by converting the svg I will attach below using ImageMagick.
artwork-00.svg
Pillow saved the image successfully, no failure messages were shown.
Reactions are currently unavailable