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

firefox os build compression corrupted certain JPEG files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.0
    • None
    • None
    • Cordova 3.5.0-0.2.7, Ionic 1.2.5, Ubuntu 14.04 64-bit

    Description

      Some image files cannot be compressed properly by build firefoxos. However, during build there is no error.

      During extraction, these affected files will have 0 byte size.

      For example, unzipping the package.zip will emit following error message:

        inflating: recipe_photos/Vegetable-Pasta.jpg  
        error:  invalid compressed data to inflate
         creating: templates/
      

      Example file that cannot be compressed is attached.

      Note that the file is correct in platforms/firefoxos/www/recipe_photos/Vegetable-Pasta.jpg. It's only corrupted inside the ZIP file.

      Attachments

        1. Vegetable-Pasta.jpg
          118 kB
          Hendy Irawan

        Activity

          People

            Unassigned Unassigned
            ceefour Hendy Irawan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: