Issue with incorrect rotation of image from camera service

This forum contains topics that were moved from Get Satisfaction
Jonathan Clark
Posts: 0
Joined: Thu Mar 14, 2013 5:25 pm

Issue with incorrect rotation of image from camera service

Post by Jonathan Clark »

Having an issue with images captured from phones camera. When I display the captured image they are all rotated 90 deg to the left. I have tried with multiple phones just to make sure it wasn't an issue with my phone itself.

Something I noticed that may very well be related: When I add an image component in the tiggzi builder it places the component icon on the screen. I believe the icon is supposed to be a tree/leaf with a sun in the sky? If that is true, then the image icon is also rotated 90deg to the left from the moment its added to the screen.

Any thoughts?

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

Issue with incorrect rotation of image from camera service

Post by Kateryna Grynko »

Hi Jonathan,

Is it Android or iOS?

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

Issue with incorrect rotation of image from camera service

Post by Jonathan Clark »

So far I have only tested with android

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

Issue with incorrect rotation of image from camera service

Post by Kateryna Grynko »

Thank you. We will test this issue. What is the Android version?

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

Issue with incorrect rotation of image from camera service

Post by Maryna Brodina »

Hello! I tested with Samsung Galaxy (Android 4.0.4) and iPhone 4 (iOS 6.0.1) - it works as expected, but I was able to reproduce it with HTC Desire Z (Android 2.3.3). What device with what version did you use to test.

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

Issue with incorrect rotation of image from camera service

Post by Jonathan Clark »

Android Galaxy S3 4.1.2

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

Issue with incorrect rotation of image from camera service

Post by Kateryna Grynko »

Jonathan,
We'll test this. Thanks for clarification.

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

Issue with incorrect rotation of image from camera service

Post by Maryna Brodina »

Hi, reproduced with Samsung Galaxy Tab (Android 4.1.1), I'll report about this problem.

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

Issue with incorrect rotation of image from camera service

Post by Jonathan Clark »

I am way out of my realm here, but I was looking around the phonegap documentation and noticed a parameter for the camera.getPicture method that isn't part of the request created through the tiggzi builder:

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

I was going to add this as a parameter in the service and test, but realized those services are not editable. I did however try turning the android into landscape mode when taking a picture and that picture did upload with the correct orientation, so it seems like this may be promising.

Again, way out of my league, but hopefully this is helpful info.

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

Issue with incorrect rotation of image from camera service

Post by Kateryna Grynko »

Hello,

Thank you, this is helpful. We're testing.

Post Reply