[
https://issues.apache.org/jira/browse/CB-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-4150:
---------------------------------
Component/s: Plugin Camera
> 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?
> 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