cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Martin Bakke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-2387) navigator.camera.getPicture targetWidth/targetHeight loses aspect ratio in WP8
Date Wed, 06 Feb 2013 15:47:12 GMT
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

Mime
View raw message