[
https://issues.apache.org/jira/browse/CB-7935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-7935:
---------------------------------
Priority: Major (was: Critical)
> 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: [email protected]
For additional commands, e-mail: [email protected]