2

I'm building an app that takes a photo and show it on the screen (that's the relevant part). For some reason when I take the image from camera save it as PNG and display it it's rotated. It doesn't happen if the image is taken from camera roll.

Does someone have the same issue or can help?

Idan
  • 9,880
  • 10
  • 47
  • 76

1 Answers1

2

This is a known issue when saving it as a PNG on iPhone. The PNG is rotated. You need to correct for that. It doesn't do this when you save as JPEG.

iOS PNG Image rotated 90 degrees

Community
  • 1
  • 1
Lou Franco
  • 87,846
  • 14
  • 132
  • 192