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

Do not write empty metadata #61

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

rphlo
Copy link
Contributor

@rphlo rphlo commented Sep 4, 2024

MacOS seems to fail to open the files containing Exif metadata generated by this library.
Modified the behaviour of the encoder to write the metadata only if they are not null.
File without Exif metadata seems to open properly.

To generate file that open with mac, you need this change and save using param exif=None

@Isotr0py Isotr0py self-requested a review September 4, 2024 12:45
Copy link
Owner

@Isotr0py Isotr0py left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for your great contribution!

@Isotr0py Isotr0py merged commit 23d094a into Isotr0py:main Sep 4, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants