cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10756) Camera feature doesn't work if quality greater than 50
Date Mon, 14 Mar 2016 17:42:33 GMT

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

ASF subversion and git services commented on CB-10756:
------------------------------------------------------

Commit 826aca3524be7ffd98587b7eed297101dbc17903 in cordova-plugin-camera's branch refs/heads/master
from Richard Knoll
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=826aca3 ]

CB-10756: Adding sterner warnings about DATA_URL

This closes #193


> Camera feature doesn't work if quality greater than 50
> ------------------------------------------------------
>
>                 Key: CB-10756
>                 URL: https://issues.apache.org/jira/browse/CB-10756
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>         Environment: Android,IOS
>            Reporter: Viththal Joshi
>              Labels: iOS
>
> Http Post request fails if Camera image passed as a Data URI which is captured by cordova
image capture plugin.
> {code}
> $http({url:ServerURL+'/pgas-bbmp-portlet/requestprocess.do' , 
> method: "POST",
> params: {
> 	userId:$rootScope.user!=undefined?$rootScope.user.userid:0,
> 	imageData:$rootScope.limgData
> }
> })
> .then(function(response) {
> 	console.log(response.data);
> 	console.log(response.status);
> }
> ,function(response) {
> 	console.log(response.data);
> 	console.log(response.status);
> });
> where $rootScope.limgData is imageData got from Success fn of navigator.camera.getPicture()
> Camera Options:
> var options = {
>               quality:100,
>               destinationType: Camera.DestinationType.DATA_URL,
>               sourceType: Camera.PictureSourceType.CAMERA,
>               allowEdit: false,
>               encodingType: Camera.EncodingType.JPEG,
>               targetWidth: 200,
>               targetHeight: 200,
>               popoverOptions: CameraPopoverOptions,
>               saveToPhotoAlbum: false,
>               correctOrientation:true
>             };
> {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


Mime
View raw message