You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bavya Bal (JIRA)" <ji...@apache.org> on 2013/07/11 08:57:48 UTC

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

Bavya Bal created CB-4150:
-----------------------------

             Summary: 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
            Reporter: Bavya Bal


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}
                }
             );
            }    

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