You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vernon de Goede (JIRA)" <ji...@apache.org> on 2016/07/12 08:06:20 UTC

[jira] [Commented] (CB-2648) Not able to Zoom Out when editing photos via allowEdit:true

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

Vernon de Goede commented on CB-2648:
-------------------------------------

Is there any update on this issue? Cordova planning on creating it's own cropping utility?

> Not able to Zoom Out when editing photos via allowEdit:true
> -----------------------------------------------------------
>
>                 Key: CB-2648
>                 URL: https://issues.apache.org/jira/browse/CB-2648
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.3.0
>         Environment: iOS
>            Reporter: Greg
>            Assignee: James Jong
>            Priority: Minor
>              Labels: Triaged, iOS
>
> When you take a photo with the camera on iOS and then set getPicture with allowEdit: true, you are not able to zoom out of the photo. When you pinch and zoom out, it bounces back to the center.
> Sample Code:
> {code:javascript}
> navigator.camera.getPicture(Photo.getSuccess, Photo.getFail, {quality: 45, destinationType: destinationType.FILE_URI, sourceType: pictureSource.CAMERA, correctOrientation: true, encodingType: encoding.JPEG, saveToPhotoAlbum: true, targetWidth: 910, targetHeight: 910, allowEdit: true});
> {code}
> Steps to Produce:
> 1. Download Untappd 2.2 for iOS
> 2. On the confirm screen for a beer, select "Add Photo"
> 3. Choose Camera
> 4. Take a picture in portrait mode
> 5. Try to zoom out  to have the whole photo in the picture.
> Is this because of the target height and width?



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