Skip to content

Fixed photo orientation bug#4378

Open
gabriel-bolbotina wants to merge 2 commits intomasterfrom
fix/android-photo-orientation
Open

Fixed photo orientation bug#4378
gabriel-bolbotina wants to merge 2 commits intomasterfrom
fix/android-photo-orientation

Conversation

@gabriel-bolbotina
Copy link
Contributor

Ready for review

Solution: instead of erasing the exif data key for image orientation, it is not set to 1 (which means no rotation). I also modified the unit test to check that the value of that key is set to 1, when calling the modified function.

Tested on iOS, Android and Windows

@gabriel-bolbotina gabriel-bolbotina force-pushed the fix/android-photo-orientation branch from d3a92ea to dfc7b71 Compare March 9, 2026 12:32
@github-actions
Copy link

github-actions bot commented Mar 9, 2026

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📭 Build not yet complete or failed.
linux Build 📬 Mergin Maps 64971 x86_64 Expires: 07/06/2026 #6497
win64 Build 📬 Mergin Maps 56811 win64 Expires: 07/06/2026 #5681
Android Build 📬 Mergin Maps 779611 APK [armeabi-v7a] Expires: 07/06/2026 #7796
Android Build 📬 Mergin Maps 779651 APK [arm64-v8a] Expires: 07/06/2026 #7796
iOS Build 📬 Build number: 26.03.873711 #8737

@Withalion Withalion requested a review from tomasMizera March 9, 2026 18:48
Copy link
Collaborator

@tomasMizera tomasMizera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch :)

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📬 Mergin Maps 64941 dmg Expires: 08/06/2026 #6494
linux Build 📭 Build not yet complete or failed.
win64 Build 📬 Mergin Maps 56891 win64 Expires: 08/06/2026 #5689
Android Build 📬 Mergin Maps 780451 APK [arm64-v8a] Expires: 08/06/2026 #7804
Android Build 📬 Mergin Maps 780411 APK [armeabi-v7a] Expires: 08/06/2026 #7804
iOS Build 📬 Build number: 26.03.874511 #8745

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Second photo changes orientation after saving when sketches are added

3 participants