cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "graphefruit (JIRA)" <>
Subject [jira] [Created] (CB-10064) Camera.getPicture - Wrong FileURI
Date Mon, 23 Nov 2015 14:41:11 GMT
graphefruit created CB-10064:

             Summary: Camera.getPicture - Wrong FileURI
                 Key: CB-10064
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
    Affects Versions: 5.3.3
         Environment: Android 6.0
            Reporter: graphefruit


if you take a picture with cordova and need to edit the picture, you won't get the edited
image-file-uri if the quality is set to "100"., onFail, {
                    quality: 100,
                    destinationType: Camera.PictureSourceType.CAMERA,
                    sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
                    allowEdit: true,
                    encodingType: Camera.EncodingType.PNG,
                    mediaType: window.Camera.MediaType.PICTURE,
                    targetWidth: 0,
                    targetHeight: 0,
                    popoverOptions: CameraPopoverOptions,
                    saveToPhotoAlbum: false

If the quality is set to 99 the original image will be overwritten with the edited image content
and another image is created and saved with the edited image content.

At least you can then use the edited image.

Pass two parameters 
function onSuccess(_originalURI,_editedURI)


Thanks & Greetings

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message