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
ImagePicker loses EXIF when resizing via maxWidth or maxHeight #12921
Comments
What info do you specifically need? There's no currently an API for this, but I'm interested in implementing it. |
I need: I also wrote this flutter plugin: https://github.com/romaluca/exif_flutter (it is a bad port of this: https://pub.dartlang.org/packages/exifdart ) It works but only when i don't specify maxHeight or maxWidth in image picker |
Ah, I see. The EXIF data is lost since when you use So, in the case of This needs a new version of the image_picker plugin. |
I fixed it. flutter/plugins#866 Please check if I am fixing what you are imagining. |
I've written notes about how to add exif on iOS/Android to: #10533 (comment) . I suspect all of these exif bugs are the same root cause and easy to fix. |
I am experiencing the same issue after resizing the image on android, exif data is lost (can confirm it atleast for orientation). Any news on this? |
Still experiencing this issue with |
I'm fixing this in flutter/plugins#1586 |
flutter/plugins#1586 is merged, you can use the latest version. Image picked now has the EXIF data copied from the original photo. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Hi, i'm using the plugin:
https://github.com/flutter/plugins/tree/master/packages/image_picker
for get images and photo. I'm using it also with maxWidth and maxHeight.
Is possible have the exif metadata before the resize?
How can i do it?
Thanks
The text was updated successfully, but these errors were encountered: