Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9259

Camera on Android ignores cropped image.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • None
    • None
    • Android (5.1.1) with Cordova (4.3.0)

    Description

      When taking a picture with allowEdit: true and specified targetWidth/Height the crop view shows up and the user can edit the picture.

      After clicking save, the unedited, original picture is forwarded to the callback.

      Invocation:

      options = {
              destinationType: Camera.DestinationType.FILE_URI,
              sourceType: Camera.PictureSourceType.CAMERA,
              allowEdit: true,
              targetWidth: 1000,
              targetHeight: 1000,
              encodingType: Camera.EncodingType.JPEG,
              popoverOptions: CameraPopoverOptions,
              saveToPhotoAlbum: true/false // Doesn't matter
      };
      

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            Eusebius Daniel Schlosser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: