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 C81AC109E0 for ; Fri, 5 Jul 2013 07:51:52 +0000 (UTC) Received: (qmail 31904 invoked by uid 500); 5 Jul 2013 07:51:52 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 31191 invoked by uid 500); 5 Jul 2013 07:51:50 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 31150 invoked by uid 99); 5 Jul 2013 07:51:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jul 2013 07:51:48 +0000 Date: Fri, 5 Jul 2013 07:51:48 +0000 (UTC) From: "aligo (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-4078) correctOrientation is not working on camera.getPicture 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:all-tabpanel ] aligo updated CB-4078: ---------------------- Description: Hi I use cameraOptions below to get the FILE_URI and to display in tag: 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 But the picture displayed within wrong orientation. Updated: I try use window.navigator.camera.PictureSourceType.CAMERA in sourceType, and everything work as expected. was: Hi I use cameraOptions below to get the FILE_URI and to display in tag: 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 But the picture displayed within wrong orientation. > correctOrientation is not working on camera.getPicture > ------------------------------------------------------ > > Key: CB-4078 > URL: https://issues.apache.org/jira/browse/CB-4078 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.9.0 > Reporter: aligo > Assignee: Shazron Abdullah > > Hi > I use cameraOptions below to get the FILE_URI and to display in tag: > 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 > 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira