Offline First Android software client for CommCare, the world's largest platform for designing, managing, and deploying robust mobile applications to frontline workers worldwide
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._
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