Skip to content
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

Fix(ios): Improve image orientation detection #1

Merged
merged 1 commit into from
Aug 27, 2022

Conversation

vitalii-tb
Copy link

@vitalii-tb vitalii-tb commented Aug 25, 2022

Problem

Expensify/App#10258

Platform: iOS
The image manipulator is not detecting orientation correctly for images that were captured on iPhone's camera

183095096-a228ab53-bef3-4b36-8109-e9100e823225.mp4

Solution

Add a function that fixes orientation before applying any manipulations. (Inspired by expo-image-manipulator)

Result

5436194523782846779.mp4

@Santhosh-Sellavel
Copy link

@Beamanator PR tests well for me!

Copy link

@Beamanator Beamanator left a comment

Choose a reason for hiding this comment

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

:shipit:

@Beamanator Beamanator merged commit c5f654f into Expensify:master Aug 27, 2022
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.

3 participants