imageview - Appcelerator - Image from Camera gets rotated to 90 degree for Android -
i'm trying take image camera , post server android.the problem when take image gets rotated 90 degree. tried different solutions didn't meet success.i tried capture orientation of screen in camera open can rotate imageview, didn't work.
if faced problem , knows solution, please help. grateful.
android sd : 5.2.0, testing device : samsung a700fd, os : 5.0.2.
this known bug, there workaround module:
https://github.com/ricardoalcocer/androidrotateimage
"there's annoying, yet rare issue when taking photos andorid devices, orientation information not properlly identified titanium, causing photo taken in portrait format returned landscape.
[...]
besides rotating image, library scales image specified width, , compresses specified percentage. particulary useful, since android camera images can huge , potentially make device run out-of-memory."
Comments
Post a Comment