You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Gaurav Chandra (JIRA)" <ji...@apache.org> on 2016/05/06 13:37:12 UTC

[jira] [Created] (CB-11217) Cordova Camera Plugin rotating images 90 degrees even if correctOrientation is set to false

Gaurav Chandra created CB-11217:
-----------------------------------

             Summary: Cordova Camera Plugin rotating images 90 degrees even if correctOrientation is set to false
                 Key: CB-11217
                 URL: https://issues.apache.org/jira/browse/CB-11217
             Project: Apache Cordova
          Issue Type: Bug
            Reporter: Gaurav Chandra


Following options are set:

camera.options = {
                    quality: 100,
                    destinationType: Camera.DestinationType.FILE_URI,
                    sourceType: Camera.PictureSourceType.CAMERA,
                    allowEdit: false,
                    encodingType: Camera.EncodingType.JPEG,
                    cameraDirection: 0,
                    correctOrientation:false,
                    targetWidth:2048,
                    targetHeight:2048,
                    saveToPhotoAlbum: false
                };

When I take a picture in portrait mode, it is converted into landscape. I don't want this to happen as I need to take a photo of the document. 

Happens on Android 5.0 on Lenovo A6000.



--
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