You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2015/06/15 19:59:01 UTC

[jira] [Commented] (CB-9169) encodingType seem only have JPG file

    [ https://issues.apache.org/jira/browse/CB-9169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586396#comment-14586396 ] 

Joe Bowser commented on CB-9169:
--------------------------------

See CB-7122.  I'm not sure we want the camera to handle other file types since it doesn't really make sense for photos to be anything other than JPEG.  That said, since it also does grab from the "Gallery", which on Android means the Google Photos app, you may want to grab a random PNG and NOT covert it.

We should discuss this on the list.

> 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, iOS, Plugin Camera, WP8
>    Affects Versions: 5.0.1
>         Environment: I am using Cordova Cli 5.0 with all latest core plugin
>            Reporter: Colin Bau
>            Assignee: Jesse MacFadyen
>              Labels: camera
>
> according to this
> https://github.com/apache/cordova-plugin-camera
> I am using
> { destinationType : Camera.DestinationType.FILE_URL,
>   sourceType : Camera.PictureSourceType.CAMERA,
>   encodingType: Camera.EncodingType.JPEG,
>   targetWidth: 100,
>   targetHeight: 100,
>   saveToPhotoAlbum: TRUE }
> 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