You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ole Martin Bakke (JIRA)" <ji...@apache.org> on 2013/02/06 16:47:12 UTC
[jira] [Created] (CB-2387) navigator.camera.getPicture
targetWidth/targetHeight loses aspect ratio in WP8
Ole Martin Bakke created CB-2387:
------------------------------------
Summary: navigator.camera.getPicture targetWidth/targetHeight loses aspect ratio in WP8
Key: CB-2387
URL: https://issues.apache.org/jira/browse/CB-2387
Project: Apache Cordova
Issue Type: Bug
Components: WP8
Affects Versions: 2.3.0
Environment: Tested on Visual Studio Emulator and Nokia Lumia 920
Reporter: Ole Martin Bakke
Assignee: Jesse MacFadyen
Priority: Minor
It seesms like navigator.camera.getPicture with the targetWidth and targetHeight loses aspect ratio on WP8.
navigator.camera.getPicture(onPhotoDataSuccess, onFail, {
quality: 80,
destinationType: destinationType.DATA_URL,
sourceType: source,
targetHeight: 640,
targetWidth: 640
});
Returns a image which is 640px*640px although the cameras aspect ratio is 1,5:1
The same app built for Android is OK.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira