[jira] [Commented] (CB-9591) Retain aspect ratio when resizing camera image
[ https://issues.apache.org/jira/browse/CB-9591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15014228#comment-15014228 ] Raghav commented on CB-9591: I have been testing this issue on windows phone 8.1 and I believe it works as expected. According to the documentation, image is never scaled up, so basically the resize is driven by the lower of the targetwidth/targetheight specified and the image is resized keeping the original aspect ratio constant. I tested on a 480 * 640 image and gave the following values: targetwidth targetheight resultant-widthresultant-height 100 250100 133 200 800200 266 700 600450 600 [~riknoll] : Can you confirm this is the behavior on other platforms? > Retain aspect ratio when resizing camera image > -- > > Key: CB-9591 > URL: https://issues.apache.org/jira/browse/CB-9591 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Windows >Reporter: Murat Sutunc > Labels: Windows > > According to documentation and iOS/Android behavior, resized images should > retain ratio. Windows currently doesn't respect that. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9591) Retain aspect ratio when resizing camera image
[ https://issues.apache.org/jira/browse/CB-9591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15014988#comment-15014988 ] Richard B Knoll commented on CB-9591: - Tested on iOS and everything is consistent. [~rakatyal] close it up! > Retain aspect ratio when resizing camera image > -- > > Key: CB-9591 > URL: https://issues.apache.org/jira/browse/CB-9591 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Windows >Reporter: Murat Sutunc > Labels: Windows > > According to documentation and iOS/Android behavior, resized images should > retain ratio. Windows currently doesn't respect that. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9591) Retain aspect ratio when resizing camera image
[ https://issues.apache.org/jira/browse/CB-9591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15014289#comment-15014289 ] Richard B Knoll commented on CB-9591: - Confirmed on Android. I used a bigger photo, but it had the same aspect ratio so I got the same results for those width/heights. Will do iOS later. > Retain aspect ratio when resizing camera image > -- > > Key: CB-9591 > URL: https://issues.apache.org/jira/browse/CB-9591 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Windows >Reporter: Murat Sutunc > Labels: Windows > > According to documentation and iOS/Android behavior, resized images should > retain ratio. Windows currently doesn't respect that. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org