Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added Exif hide_offsets() #6762

Merged
merged 2 commits into from
Dec 23, 2022
Merged

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants