When the orientation of the photo taken with iPhone is wrong, the easy rotation method solves everything.

When I get a photo taken with an iPhone from the photo library, the orientation of the image is strange.

Strange orientation

We want this.

It is a way to solve it in one shot.
You don’t have to rush.
If you bite this method, the image with the correct orientation will be returned.

I’m a freelance engineer.
Feel free to contact us for work consultation 🐥
rockyshikoku@gmail.com

I am making an app that uses Core ML and ARKit.
We send machine learning / AR related information.

GitHub
Twitter
Medium

Thank you very much.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store