cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7935) Camera allowEdit property does allow to edit taken photo
Date Thu, 20 Nov 2014 23:20:33 GMT

     [ https://issues.apache.org/jira/browse/CB-7935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shazron Abdullah updated CB-7935:
---------------------------------
    Description: 
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}

  was:
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
					});
		},


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


Mime
View raw message