Page 1 of 1

Camera and wide angle shots

Posted: Mon Jun 16, 2014 10:17 pm
by Bad Addy

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


Camera and wide angle shots

Posted: Tue Jun 17, 2014 1:00 am
by Alena Prykhodko

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?


Camera and wide angle shots

Posted: Tue Jun 17, 2014 7:12 am
by Bad Addy

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


Camera and wide angle shots

Posted: Tue Jun 17, 2014 8:55 am
by Maryna Brodina

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)"


Camera and wide angle shots

Posted: Tue Jun 17, 2014 8:57 am
by Bad Addy

Thank you :)