[ 
https://issues.apache.org/jira/browse/CB-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962626#comment-14962626
 ] 

jcesarmobile commented on CB-2536:
----------------------------------

The images are 2592x1936
With the latest version of the plugin you get 1024x764

The targetWidth and targetHeight maintain aspect ratio

So, 1024 / 2592 = 0.395062
1936 x 0.395062 = 764,840032 (not sure why it now rounds to 764 instead of 765, 
but you will never get 768)

> iOS 6.1 camera returning incorrect image size
> ---------------------------------------------
>
>                 Key: CB-2536
>                 URL: https://issues.apache.org/jira/browse/CB-2536
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.4.0
>         Environment: iOS
>            Reporter: Rob Gillan
>
> We have just noticed that when we take a picture on iOS 6.1/Cordova 2.4 on an 
> iPad3 the getCamera method is returning an image of incorrect size.  We are 
> asking for 1024x768 and the method is returning 1024x765 (it has the same 
> issue for portrait returning 765x1024).  This appears similar to the problems 
> we saw on an earlier Cordova release that were fixed in CB-760.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to