-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Respect image orientation during resizing #2743
Comments
Other EXIF respect use case: #2689 |
/bounty $150 |
💎 $150 bounty • Dimagi, IncThis issue is eligible for rewards from CommCare's Open Source Bounty Program. Contribution PrerequisitesBefore you proceed, please read through the details of the CommCare Bounty Program
Steps to solve
Thank you for contributing to dimagi/commcare-android! Add a bounty • Share on socials
|
@kiran-tripathy should be resolved in my latest PR.. #2902 The orientation data is preserved: |
/attempt #2743 Options |
Thank you, @melmathari! |
Bug Description
When image resizing is applied to captured images, EXIF data is currently getting stripped.
Current Behavior
Since most Android cameras do not natively rotate the pixels in a photo but instead set the orientation in EXIF data, resized images do not display in the same orientation as the original captured photo
Expected Behavior
Resized images should maintain the correct orientation as the original captured photo.
Reproduction Steps
Note: These steps assume you have basic knowledge of navigating and using the CommCare platform. If you are unfamiliar with how to perform basic setup steps, a getting started guide is available here.
Possible Solution
Passing through some EXIF information during the resizing process or reading.
Additional Information/Context
Keep in mind that it may not be possible to replicate the issue on all devices.
Environment details (OS name and version, etc.)
No response
The text was updated successfully, but these errors were encountered: