Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Camera and wide angle shots

I am using the camera function, and in the settings I have it as 1280 x 720 so I would be able to take a wide screen shot.

But I cannot do this, as each time, regardless of what angle I tilt the phone, its always 764 x 764. So i if i want a wide screen image, I cannot seem to do it without making it look stretched, as if i want a max-height of 210, then the whole image is 210 x 210, when I want it 320 x 210.

Is this a limitation when using phonegap and the phones camera ?

Here are my settings:

Image

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

Camera and wide angle shots

Hello,

We'll test it and let you know as soon as have more information.
This may take some time.
Could you please specify devices and OSs you use?

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Camera and wide angle shots

This is on a iOS 7 Apple iPhone 5 I am using :)

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

Camera and wide angle shots

Hello!

It is a restriction from PhoneGap. Please take a look here http://cordova.apache.org/docs/en/3.3...
"targetWidth: Width in pixels to scale image. Must be used with targetHeight. Aspect ratio remains constant. (Number)

targetHeight: Height in pixels to scale image. Must be used with targetWidth. Aspect ratio remains constant. (Number)"

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Camera and wide angle shots

Thank you :)

Return to “Issues”