Skip to content

TIFF EXIF data is not updated when saving image #6334

@gverm

Description

@gverm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions