[ https://issues.apache.org/jira/browse/CB-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989288#comment-13989288 ]
ASF GitHub Bot commented on CB-6612: ------------------------------------ GitHub user vladimir-kotikov opened a pull request: https://github.com/apache/cordova-plugin-camera/pull/26 CB-6612 Camera.DestinationType.DATA_URL does not work with WP8 with org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are explicitly set You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-plugin-camera CB-6612 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-camera/pull/26.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #26 ---- commit 9e0d9439714b54540685f7daa23f713ca17d28f6 Author: Vladimir Kotikov <v-vlk...@microsoft.com> Date: 2014-05-02T06:51:32Z CB-6612 camera.getPicture now always returns encoded JPEG image ---- > Camera.DestinationType.DATA_URL does not work with WP8 with > org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are > explicitly set > -------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CB-6612 > URL: https://issues.apache.org/jira/browse/CB-6612 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera, WP8 > Affects Versions: 2.9.0 > Reporter: Vladimir Kotikov > Assignee: Jesse MacFadyen > > Reproduction steps: > 1. create a new cordova app > 2. add the camera plugin, version 0.2.9 (latest) > 3. add the wp8 platform > 4. use getPicture with DATA_URL option and no width/height set > Result: > No valid imageData is returned in the success callback. -- This message was sent by Atlassian JIRA (v6.2#6252)