cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clément Vollet (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CB-5194) Camera.getPicture with sourceType: PHOTOLIBRARY doesn't respect correctOrientation unless targetWidth/Height also specified
Date Tue, 15 Apr 2014 17:27:25 GMT

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

Clément Vollet commented on CB-5194:
------------------------------------

[~bowserj] I'd say https://github.com/apache/cordova-plugin-camera/commit/4ae4414856762e9250f5579c7052315d62733032
(dunno why the commit message has been modified). The problem was that the image was rotated,
but not saved if no targetHeight or targetWidth were set.

> Camera.getPicture with sourceType: PHOTOLIBRARY doesn't respect correctOrientation unless
targetWidth/Height also specified
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-5194
>                 URL: https://issues.apache.org/jira/browse/CB-5194
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Camera
>    Affects Versions: 2.6.0
>         Environment: Galaxy S4
>            Reporter: Andre Asselin
>            Priority: Minor
>
> Use Camera.getPicture() with sourceType: PHOTOLIBRARY to retrieve a picture from the
library.  The correctOrientation option will be ignored unless you also specify targetWidth/Height
as options.  The documentation doesn't state there is a dependency.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message