Skip to content

Conversation

@radarhere
Copy link
Member

Helps #6641

Some tags are purely technical and should never be edited by hand (the IFD offsets come to mind here). It would be nice to have a flag not to return them to the user.

This PR adds exif.hide_offsets(), so that afterwards, the user will not see the Exif, GPS, Interop or Makernote IFD offsets, while still being able to use get_ifd() to access the data within those IFDs.

@radarhere radarhere added the Exif label Nov 26, 2022
@radarhere radarhere mentioned this pull request Nov 26, 2022
5 tasks
@hugovk hugovk merged commit 0934c25 into python-pillow:main Dec 23, 2022
@radarhere radarhere deleted the exif_hide_offsets branch December 23, 2022 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants