You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/31 23:31:51 UTC

[jira] [Commented] (CB-12005) Orientation wrong, Exif not changing after the correct orientation is applied

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

ASF GitHub Bot commented on CB-12005:
-------------------------------------

GitHub user infil00p opened a pull request:

    https://github.com/apache/cordova-plugin-camera/pull/252

    CB-12005: Changing the getOrientation method to return the defined en…

    …umerated EXIF instead of orientation in degrees for Consistency
    
    <!--
    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    
    http://cordova.apache.org/contribute/contribute_guidelines.html
    
    Thanks!
    -->
    
    ### Platforms affected
    
    
    ### What does this PR do?
    
    
    ### What testing has been done on this change?
    
    
    ### Checklist
    - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database
    - [ x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [ ] Added automated test coverage as appropriate for this change.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/infil00p/cordova-plugin-camera ExifVariableBug

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-camera/pull/252.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #252
    
----
commit 8575f7028eb47d525569c3ab6bf3212bc4e66433
Author: Joe Bowser <bo...@apache.org>
Date:   2017-01-31T23:29:56Z

    CB-12005: Changing the getOrientation method to return the defined enumerated EXIF instead of orientation in degrees for Consistency

----


> Orientation wrong, Exif not changing after the correct orientation is applied
> -----------------------------------------------------------------------------
>
>                 Key: CB-12005
>                 URL: https://issues.apache.org/jira/browse/CB-12005
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.3.0
>         Environment: Android 6.0.1
>            Reporter: Octavio Pinho Bokel
>              Labels: camera
>             Fix For: Master
>
>
> I recently updated the camera plugin to 2.3.0.
> My app (Woopter) use the camera plugin with FILE_URI and correctOrientation = true and the source is the CAMERA
> I noticed that the pictures were showing correctly only on android. On IOS and on the server they were WRONGLY ROTATED.
> What happened is that the picture is keeping the ORIGINAL EXIF after the orientation was corrected. So, in systems that uses the Exif, the picture was being rotated twice. (The Exif is making the correct oriented picture to rotated).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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