You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2015/10/16 18:15:05 UTC

[jira] [Updated] (CB-4150) Support all image format together while uploading images from mobile

     [ https://issues.apache.org/jira/browse/CB-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard B Knoll updated CB-4150:
--------------------------------
    Description: 
To support jpeg and png image format together like below?
{code:javascript}
function getImage() {
              navigator.camera.getPicture(uploadPhoto, function(message) {
                    alert('get picture failed');
                }, {
                    quality: 50,
                    destinationType: navigator.camera.DestinationType.FILE_URI,
                    sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY
                    encodingType:  Camera.EncodingType = { JPEG : 0, PNG : 1}
                }
             );
            }    
{code}

  was:
To support jpeg and png image format together like below?

function getImage() {
              navigator.camera.getPicture(uploadPhoto, function(message) {
                    alert('get picture failed');
                }, {
                    quality: 50,
                    destinationType: navigator.camera.DestinationType.FILE_URI,
                    sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY
                    encodingType:  Camera.EncodingType = { JPEG : 0, PNG : 1}
                }
             );
            }    


> Support all image format together while uploading images from mobile
> --------------------------------------------------------------------
>
>                 Key: CB-4150
>                 URL: https://issues.apache.org/jira/browse/CB-4150
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Camera
>            Reporter: Bavya Bal
>
> To support jpeg and png image format together like below?
> {code:javascript}
> function getImage() {
>               navigator.camera.getPicture(uploadPhoto, function(message) {
>                     alert('get picture failed');
>                 }, {
>                     quality: 50,
>                     destinationType: navigator.camera.DestinationType.FILE_URI,
>                     sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY
>                     encodingType:  Camera.EncodingType = { JPEG : 0, PNG : 1}
>                 }
>              );
>             }    
> {code}



--
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