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 6ED2618B30 for ; Mon, 9 Nov 2015 20:26:16 +0000 (UTC) Received: (qmail 82548 invoked by uid 500); 9 Nov 2015 20:26:11 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 82512 invoked by uid 500); 9 Nov 2015 20:26:11 -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 82498 invoked by uid 99); 9 Nov 2015 20:26:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2015 20:26:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1DFCE2C1F58 for ; Mon, 9 Nov 2015 20:26:11 +0000 (UTC) Date: Mon, 9 Nov 2015 20:26:11 +0000 (UTC) From: "Richard B Knoll (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9169) encodingType seem only have JPG file 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-9169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997290#comment-14997290 ] Richard B Knoll commented on CB-9169: ------------------------------------- On second thought, this might be a somewhat less trivial fix. Turns out reading in the full-quality bitmap, converting it, and writing it back out has pretty terrible performance (takes about 7 seconds on my test phone), so I might be okay with this quirk so long as we document it. I'm not sure if there is any huge demand for outputting full size PNG images anyway. I'll test out the behavior on iOS too to see how it handles things. > encodingType seem only have JPG file > ------------------------------------ > > Key: CB-9169 > URL: https://issues.apache.org/jira/browse/CB-9169 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin Camera, WP8 > Affects Versions: 5.0.1 > Environment: I am using Cordova Cli 5.0 with all latest core plugin > iOS > Reporter: Colin Bau > Assignee: Jesse MacFadyen > Labels: Triaged, camera > > according to this > https://github.com/apache/cordova-plugin-camera > I am using > {code:javascript} > { destinationType : Camera.DestinationType.FILE_URL, > sourceType : Camera.PictureSourceType.CAMERA, > encodingType: Camera.EncodingType.JPEG, > targetWidth: 100, > targetHeight: 100, > saveToPhotoAlbum: TRUE } > {code} > no mater which the encodingType's value is "Camera.EncodingType.JPEG" OR "Camera.EncodingType.PNG" > finally the output file is xxx.jpg > Android iOS WP8 all have this situation -- 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