You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Matthias Dietrich (JIRA)" <ji...@apache.org> on 2015/01/21 22:51:34 UTC

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

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

Matthias Dietrich edited comment on CB-7935 at 1/21/15 9:51 PM:
----------------------------------------------------------------

Maybe related to CB-2648? Having the same issue with version 0.3.4 and iPhone 6 on iOS 8.1.2 as well as some other iPhones.

It seems like the image is moved back to the border of the *screen* instead of the crop/target region.


was (Author: rainboxx):
Maybe related to CB-2648? Having the same issue with version 0.3.4 and iPhone 6 on iOS 8.1.2 as well as some other iPhones.

> 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
>
> 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: 
> {code:javascript}
> 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
> 					});
> 		},
> {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