Photos from your Nexus 5X coming in turned upside-down? Google explains what's up

Photos from your Nexus 5X coming in turned upside-down? Google explains what's up
So, ever tried to take a pic with a third-party camera app on your spankin new' Nexus 5X, only to end up with an image that's upside down? Seriously, there should be no excuses for this type of behavior, but it turns out Google and LG actually have a solid one! Moreover, the issue isn't exclusive to the Nexus 5X, it seems. Let's review!

In a post at the Google Code boards, Mr. Eino-Ville Talvala, Android's camera framework tech lead, explained that the problem is manufacturers can't always adhere to a particular convention about mounting camera sensors inside their devices. Basically, the Android compatibility requirements expect smartphone makers to align the long-edge of camera sensors with the long edge of the device.

Thus, the back camera sensor ends up oriented in either forward-landscape or reverse-landscape mode. However, there is no strict requirement for which of the two particular directions is right. Usually, manufacturers opt for the forward-landscape orientation, but LG decided to place the sensor reverse-landscape so it could make the most of the limited space available in the Nexus 5X's shell. Most of it is occupied by the spacious 2700mAh battery inside, anyway.

It turns out that reverse-landscape oriented sensors are a rarity, and many a camera app developer do not compensate for it when post-processing an image. However, this should be no longer necessary, as the new Android Camera2 API ensures the image is correctly oriented. However, developers must update their code with the proper API calls. So if your favorite camera app ends up out of date and on the reverse side of landscape, tell the developers and they'll probably react to it!


source: Eino-Ville Talvala (code.google.com) via XDA Developers

Related phones

Nexus 5X
  • Display 5.2" 1080 x 1920 pixels
  • Camera 12.3 MP / 5 MP front
  • Processor Qualcomm Snapdragon 808, Hexa-core, 1800 MHz
  • Storage 32 GB
  • Battery 2700 mAh(20h talk time)

FEATURED VIDEO

1 Comment

1. natypes

Posts: 1110; Member since: Feb 02, 2015

I had a DLSR a long time ago and some of the pics I took were backwards.

Latest Stories

This copy is for your personal, non-commercial use only. You can order presentation-ready copies for distribution to your colleagues, clients or customers at https://www.parsintl.com/phonearena or use the Reprints & Permissions tool that appears at the bottom of each web page. Visit https://www.parsintl.com/ for samples and additional information.