You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/08 20:53:18 UTC
[jira] [Commented] (CB-2387) navigator.camera.getPicture
targetWidth/targetHeight loses aspect ratio in WP8
[ https://issues.apache.org/jira/browse/CB-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963301#comment-13963301 ]
ASF subversion and git services commented on CB-2387:
-----------------------------------------------------
Commit e7a3d70fe969f75b795ca216dd9173f8df1635ee in cordova-plugin-camera's branch refs/heads/dev from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=e7a3d70 ]
Fix camera issues, cropping, memory leaks CB-4027, CB-5102, CB-2737, CB-2387
> 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: Plugin Camera, 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 was sent by Atlassian JIRA
(v6.2#6252)