Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E228C1844C for ; Thu, 31 Mar 2016 11:33:25 +0000 (UTC) Received: (qmail 67693 invoked by uid 500); 31 Mar 2016 11:33:25 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 67668 invoked by uid 500); 31 Mar 2016 11:33:25 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 67653 invoked by uid 99); 31 Mar 2016 11:33:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Mar 2016 11:33:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 899572C1F6A for ; Thu, 31 Mar 2016 11:33:25 +0000 (UTC) Date: Thu, 31 Mar 2016 11:33:25 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4078) correctOrientation is not working on camera.getPicture for PHOTOLIBRARY (works with Camera) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15219762#comment-15219762 ] ASF GitHub Bot commented on CB-4078: ------------------------------------ Github user unbeatableDeepak commented on the pull request: https://github.com/apache/cordova-plugin-camera/pull/197#issuecomment-203888824 [Archive.zip](https://github.com/apache/cordova-plugin-camera/files/197505/Archive.zip) This is my code and its same as yours and CB-10460 changes is also there. > correctOrientation is not working on camera.getPicture for PHOTOLIBRARY (works with Camera) > ------------------------------------------------------------------------------------------- > > Key: CB-4078 > URL: https://issues.apache.org/jira/browse/CB-4078 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Affects Versions: 2.9.0 > Environment: Android > Reporter: aligo > Priority: Minor > Labels: Android, Triaged > > Hi > I use cameraOptions below to get the FILE_URI and to display in tag: > {code} > correctOrientation: true > quality: 50 > encodingType: Camera.EncodingType.JPEG > targetWidth: 300 > targetHeight: 300 > destinationType: window.navigator.camera.DestinationType.FILE_URI > sourceType: window.navigator.camera.PictureSourceType.PHOTOLIBRARY > {code} > But the picture displayed within wrong orientation. > Updated: > I try use window.navigator.camera.PictureSourceType.CAMERA in sourceType, and everything work as expected. -- 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