You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/02/21 23:16:13 UTC
[jira] [Commented] (CB-1044) [iOS] Camera getPicture, with
identical cameraOptions, but get different result when run on retina
display and non-retina display
[ https://issues.apache.org/jira/browse/CB-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583601#comment-13583601 ]
Shazron Abdullah commented on CB-1044:
--------------------------------------
Code used to test:
{code}
navigator.camera.getPicture(onSuccess, onFail, {
quality: 50,
destinationType: Camera.DestinationType.FILE_URI,
targetWidth:100,
targetHeight:100
});
function onSuccess(imageURI) {
alert(imageURI);
}
function onFail(message) {
alert('Failed because: ' + message);
}
{code}
> [iOS] Camera getPicture, with identical cameraOptions, but get different result when run on retina display and non-retina display
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: CB-1044
> URL: https://issues.apache.org/jira/browse/CB-1044
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 1.9.0
> Reporter: lmnbeyond
> Assignee: Shazron Abdullah
> Fix For: 2.5.0
>
> Attachments: cdv_photo_001(non-retina-iPhone-3GS).jpg, cdv_photo_001(retina-iPhone-5).jpg
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Call camera.getPicture and identify cameraOptions's targetWidth:100, targetHeight:100.
> Test it on retina display and non-retina display, should get same result?
--
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