[ 
https://issues.apache.org/jira/browse/CB-7567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hendy Irawan updated CB-7567:
-----------------------------
    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:

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

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.

  was:
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.


> firefox os build compression corrupted certain JPEG files
> ---------------------------------------------------------
>
>                 Key: CB-7567
>                 URL: https://issues.apache.org/jira/browse/CB-7567
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: FirefoxOS
>    Affects Versions: 3.5.0
>         Environment: Cordova 3.5.0-0.2.7, Ionic 1.2.5, Ubuntu 14.04 64-bit
>            Reporter: Hendy Irawan
>         Attachments: Vegetable-Pasta.jpg
>
>
> 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:
> {code}
>   inflating: recipe_photos/Vegetable-Pasta.jpg  
>   error:  invalid compressed data to inflate
>    creating: templates/
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to