cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5195) Camera.getPicture with sourceType: PHOTOLIBRARY scales image before rotating
Date Wed, 04 Nov 2015 00:26:27 GMT

    [ 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


Mime
View raw message