Respect image orientation during resizing #2743
Labels
💎 Bounty
Issues eligible for bounty rewards, inviting community collaboration
bounty-sep-24
Bounties published in September 2024
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: