Rob Gillan created CB-760:
-----------------------------
Summary: Camera returns incorrect image size
Key: CB-760
URL: https://issues.apache.org/jira/browse/CB-760
Project: Apache Cordova
Issue Type: Bug
Components: CordovaJS
Affects Versions: 1.7.0
Environment: iPad 2
Reporter: Rob Gillan
Assignee: Filip Maj
When using navigator.camera.getPicture on an iPad2 / iOS5.1 (which has a camera
image size of 720 x 960) the resultant image is returned with one dimension
incorrect. The camera options are set to:
quality: 50, targetWidth: 768, targetHeight: 1024, destinationType: 0,
saveToPhotoAlbum: 1
the resultant returned image is 769 x 1024.
If the camera options are set to:
quality: 50, targetWidth: 1024, targetHeight: 768, destinationType: 0,
saveToPhotoAlbum: 1
the resultant returned image is 1024 x 769.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira