Hey Paul:

Your suggestion solves my problem perfectly! The exif info gives me an 
"Orientation" property that is either 1,3, 6 or 8 for the four possible camera 
orientations when taking a photo, so I am able to rotate the image to be 
upright in all cases. Wonderful!

Thanks so much!

Erik

> On Jun 13, 2017, at 8:18 AM, Erik J. Thomas <e...@linqto.com> wrote:
> 
> Hey Paul:
> 
> Thanks for your suggestion. This approach looks promising.
> 
> Erik
> 
>> On Jun 13, 2017, at 3:45 AM, Paul Moreau <paul.mor...@zutec.com> wrote:
>> 
>> I had the same issue and solved it by using this library to get the
>> ExifInfo of the image and getting the true orientation from that:
>> 
>> https://github.com/cantrell/ExifExample
>> 
>> However I have since received a report from an Android 7 user complaining
>> of orientation issues that I haven't had time to investigate yet but aside
>> from that it works perfectly.
>> 
>> Paul
>> 
>> 
>> On Tue, Jun 13, 2017 at 10:55 AM, leokan23 <l...@best-web.gr> wrote:
>> 
>>> Hi,
>>> 
>>> I had similar problems to one of our shelfie apps. I solved the problem on
>>> android using the following code:
>>> 
>>> https://pastebin.com/f1NvTyLD <https://pastebin.com/f1NvTyLD>
>>> This code only uses the front camera and rotates it to work for Android.
>>> 
>>> An alternative could also be Camera ANE from distriqt.
>>> 
>>> Hope this helps
>>> 
>>> 
>>> 
>>> --
>>> View this message in context: http://apache-flex-users.23333
>>> 46.n4.nabble.com/Android-Images-Rotated-tp15306p15309.html
>>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>> 
>> 
>> 
>> 
>> -- 
>> 
>> 
>> 
>> 
>> 
>> 
>> *DISCLAIMER: This electronic message together with any attachments is
>> confidential. If you are not the intended recipient, do not copy, disclose
>> or use the contents in any way. Please also advise us by return e-mail that
>> you have received the message and then please destroy. Zutec  Ltd is not
>> responsible for any changes made to this message and / or any attachments
>> after sending by Zutec. We use virus scanning software but exclude all
>> liability for viruses or anything similar in this email or any attachment.*
> 

Reply via email to