You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael M (JIRA)" <ji...@apache.org> on 2014/11/04 15:15:33 UTC

[jira] [Created] (CB-7935) Camera allowEdit property does allow to edit taken photo

Michael M created CB-7935:
-----------------------------

             Summary: Camera allowEdit property does allow to edit taken photo
                 Key: CB-7935
                 URL: https://issues.apache.org/jira/browse/CB-7935
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
    Affects Versions: 3.3.0
         Environment: org.apache.cordova.camera 0.3.3 "Camera"
cordova 4.0.0
iPhone 5 iOS 7.1.1

            Reporter: Michael M
            Priority: Critical


When I take a photo with my camera and use allowEdit: true the following happens. I can see the preview window which is used to select the region of the photo which I want to use in the middle of the screen. That is fine so far. But, when I try to move the photo to set another region which should be used and when I release my finger from the screen then the image jumps back to the old region which I do not want anymore. 

I can move the phone on the screen but every time I release my finger from the screen I get only the default region. It always jumps back

I use the following code: 

navigator.camera.getPicture(
					function(imageURI){
						// cameraSuccess
						
					},
					function(message){
				
					},
					{
							quality : 70,
							destinationType : Camera.DestinationType.FILE_URI,
							sourceType : Camera.PictureSourceType.PHOTOLIBRARY,
							correctOrientation: true,
							targetWidth: 1000,
							targetHeight: 1000,
							allowEdit: true
					});
		},



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