Page 2 of 5

Issue with incorrect rotation of image from camera service

Posted: Wed Mar 27, 2013 10:55 pm
by Emmz

To get around this. I use the phonegap api directly..
navigator.camera.getPicture(
....
....
{ quality: picQuality, targetWidth: picSize, allowEdit: false, correctOrientation: true, saveToPhotoAlbum: true, destinationType: navigator.camera.DestinationType.FILE_URI});

This works properly on 2.35, 3.1 and 4.03


Issue with incorrect rotation of image from camera service

Posted: Wed Mar 27, 2013 11:04 pm
by Jonathan Clark

Thanks neil. I had just started to attempt the same thing. Is it possible to use all of the phonegap methods as well? (like compass)


Issue with incorrect rotation of image from camera service

Posted: Wed Mar 27, 2013 11:10 pm
by maxkatz

Yes, any PhoneGap API is available. PhoneGap is included in your app.


Issue with incorrect rotation of image from camera service

Posted: Wed Mar 27, 2013 11:10 pm
by Emmz

Yup ! I do.. And gps, file transfer etc.
When I started with Tiggzi some of those things didn't have a service.
I have to store pics while no cel service then auto upload multiple pics to my server. So I had to do it all myself.


Issue with incorrect rotation of image from camera service

Posted: Thu Mar 28, 2013 9:40 am
by Maryna Brodina

Hello! We'll add this parameter set to "true" by default on on code generation side.


Issue with incorrect rotation of image from camera service

Posted: Thu Mar 28, 2013 7:40 pm
by Jonathan Clark

Hey Marina,
Any estimate on when this should be implemented?


Issue with incorrect rotation of image from camera service

Posted: Thu Mar 28, 2013 7:49 pm
by Kateryna Grynko

Hi Jonathan,

Unfortunately we don't have a timeframe yet.
Will be implemented asap.


Issue with incorrect rotation of image from camera service

Posted: Fri Aug 07, 2015 9:52 pm
by S Butler

Hi,

Was this ever implemented? I seem to be experiencing the same issues on an Android Galaxy Note 4


Issue with incorrect rotation of image from camera service

Posted: Sat Aug 08, 2015 5:25 am
by Alena Prykhodko

Hi,

Please be more specific, it's kinda old thread. What exact problem do you have?


Issue with incorrect rotation of image from camera service

Posted: Sat Aug 08, 2015 6:16 pm
by S Butler

Hi,

I am using a file upload service in my app. When I upload a photo taken by my mobile device in Portrait orientation and present this image on the screen, the image is incorrectly being rotated 90 degrees to the left. I also tried to upload a photo taken by my mobile device in landscape orientation and this image was not rotated at all and looks good. Additionally, I downloaded a photo to my phone's library (not taken by device camera) and uploaded the photo and this was not rotated either and looks good. So, to sum up, the issue is only with uploading images taken with my device's camera in portrait mode. I came across this thread and was curious if this was set to True as described in the above response from support:

correctOrientation: Rotate the image to correct for the orientation of the device during capture. (Boolean)