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

correctOrientation when set to true crashes the app when loading Image

    XMLWordPrintableJSON

    Details

      Description

      set the flag correctOrientation to true.
      take a portrait high resolution image
      application crashes with OutofMemory error

      Same happens when you load an image from gallery.

      I see the issue fixed with CB-999 but I see the same problem on 2.2.0

      =======================
      function galleryNoIssue(source) {
            navigator.camera.getPicture(onPhotoURISuccess, onFail,

      { quality: 100,         destinationType: destinationType.FILE_URI,         sourceType: source }

      );
          }

          function galleryIssue(source) {
            navigator.camera.getPicture(onPhotoURISuccess, onFail,

      { quality: 100,         destinationType: destinationType.FILE_URI,         sourceType: source, correctOrientation : true }

      );
          }

      ===========================

        Attachments

        1. TestApp.apk
          293 kB
          Kiran Sai
        2. LordGanesha.jpg
          2.38 MB
          Kiran Sai

          Activity

            People

            • Assignee:
              agrieve Andrew Grieve
              Reporter:
              kiran1988 Kiran Sai
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: