Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fixed saving EXIF data to MPO #6817

Merged
merged 1 commit into from Dec 23, 2022
Merged

Conversation

radarhere
Copy link
Member

MpoImagePlugin initially writes blank MPF data, and then returns to write out the offsets once the length of the JPEG data is known.

However, the offset for the MPF data didn't consider that EXIF data might be part of the header. This PR fixes that.

@radarhere radarhere added the Exif label Dec 22, 2022
@hugovk hugovk merged commit e0eca1f into python-pillow:main Dec 23, 2022
@radarhere radarhere deleted the mpo_exif branch December 23, 2022 20:09
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.

None yet

2 participants