-
Notifications
You must be signed in to change notification settings - Fork 618
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
Expose zune-jpeg's Exif chunk extraction #2291
Conversation
The single failing CI job seems to be unrelated to this change. |
In theory PNG and WebP images can have Exif metadata too. Do you want me to make this a method on Update: I went ahead and moved it to the |
This comment was marked as outdated.
This comment was marked as outdated.
nvm I figured it out, this works and is ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. The image-webp crate also already supports this functionality.
Nice! I'll try to add that later, but I'd appreciate a merge of this as-is so that the PR doesn't stall. |
Carbon copy of the ICC chunk handling, but for Exif.
Required for
wondermagick
so that we could rotate the JPEGs correctly based on metadata.In the long term we probably want to integrate
kamadak-exif
, since it doesn't have any unsafe code and seems to be in quite a good shape. But this PR seems like a simple and uncontroversial start.