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

Android image compression algorithm uses too much memory.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.5, 0.9.6, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1
    • 1.9.0
    • cordova-android
    • None

    Description

      We need to write our own version of jpg compression algorithm as the one that Android has implemented in Bitmap.compress requires the entire image to be loaded in memory which can cause out of memory errors.

      Attachments

        Activity

          People

            macdonst Simon MacDonald
            macdonst Simon MacDonald
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: