From issues-return-51930-apmail-cordova-issues-archive=cordova.apache.org@cordova.apache.org Tue Nov 10 19:16:12 2015 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 55F02187A2 for ; Tue, 10 Nov 2015 19:16:12 +0000 (UTC) Received: (qmail 11842 invoked by uid 500); 10 Nov 2015 19:16:11 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 11805 invoked by uid 500); 10 Nov 2015 19:16: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 11762 invoked by uid 99); 10 Nov 2015 19:16:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 19:16:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2333B2C1F58 for ; Tue, 10 Nov 2015 19:16:11 +0000 (UTC) Date: Tue, 10 Nov 2015 19:16: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=14999146#comment-14999146 ] Richard B Knoll commented on CB-9169: ------------------------------------- Well, forget about adding an error. I'm just going to fix the filename and document that the encoding option is ignored when the image isn't edited since that is also the behavior for the gallery. Camera returns a JPEG and gallery returns the image file that was requested (whatever format it might be). Looking at the README, we tend to just ignore unsupported stuff instead of failing. > 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