commit | e0bbb93f6a598206ecd6e09150d51eae64bd3507 | [log] [tgz] |
---|---|---|
author | Wei-Ta Chen <weita@google.com> | Fri Nov 11 19:07:58 2011 -0800 |
committer | Wei-Ta Chen <weita@google.com> | Tue Nov 15 13:48:22 2011 -0800 |
tree | dcd04dcce28bd93dc41c98b5659fc91babbffd19 | |
parent | 34238165cfdf04584587360dfcf21109bf09e144 [diff] |
Set the orientation of a panorama image. The panorama image returned from the panorama library is oriented based on the natural orientation of the camera. We set an orientation in its EXIF header, so that the image can be displayed correctly. The orientation is calculated by compensating the device orientation and the camera orientation respective to the natural orientation of the device. Bug: 5603313 Change-Id: Id6907cb08a7ff77e44736f3c3cd1503e7a68d783