Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Issue with incorrect rotation of image from camera service

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

Jonathan Clark
Posts: 0
Joined: Thu Mar 14, 2013 5:25 pm

Issue with incorrect rotation of image from camera service

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)

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Issue with incorrect rotation of image from camera service

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

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Issue with incorrect rotation of image from camera service

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Issue with incorrect rotation of image from camera service

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

Jonathan Clark
Posts: 0
Joined: Thu Mar 14, 2013 5:25 pm

Issue with incorrect rotation of image from camera service

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Issue with incorrect rotation of image from camera service

Hi Jonathan,

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

S Butler
Posts: 0
Joined: Mon Nov 17, 2014 4:44 pm

Issue with incorrect rotation of image from camera service

Hi,

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Issue with incorrect rotation of image from camera service

Hi,

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

S Butler
Posts: 0
Joined: Mon Nov 17, 2014 4:44 pm

Issue with incorrect rotation of image from camera service

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)

Return to “Issues”