You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2015/11/04 01:26:27 UTC

[jira] [Commented] (CB-5195) Camera.getPicture with sourceType: PHOTOLIBRARY scales image before rotating

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

Richard B Knoll commented on CB-5195:
-------------------------------------

I can reproduce this with cordova-plugin-camera 1.2.1 (dev), cordova-android 5.0.0 (dev), and a Nexus 6 running Marshmallow (I had to provide fake EXIF data, because I don't think the Nexus 6 has the correctOrientation problem). 

> Camera.getPicture with sourceType: PHOTOLIBRARY scales image before rotating
> ----------------------------------------------------------------------------
>
>                 Key: CB-5195
>                 URL: https://issues.apache.org/jira/browse/CB-5195
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.6.0
>         Environment: Galaxy S4
>            Reporter: Andre Asselin
>              Labels: Android, reproduced, triaged
>
> Use Camera.getPicture() with sourceType: PHOTOLIBRARY to retrieve a picture from the library. If you specify both the correctOrientation and targetWidth/Height options (which currently you must do if you want correctOrientation to work because of bug CB-5194), the code scales the image first before rotating it, so the final dimensions are incorrect.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org