You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/28 07:03:00 UTC

[jira] [Commented] (CB-13610) Android default image assets are not compressed

    [ https://issues.apache.org/jira/browse/CB-13610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268252#comment-16268252 ] 

ASF GitHub Bot commented on CB-13610:
-------------------------------------

dpogue opened a new pull request #418: CB-13610: Compress the default app assets
URL: https://github.com/apache/cordova-android/pull/418
 
 
   ### Platforms affected
   Android
   
   ### What does this PR do?
   Compresses the default app icon and splash screen images
   
   For reference, the compression process was:
   ```bash
   pngquant --strip --speed 1 screen.png # Outputs screen-fs8.png
   rm screen.png
   zopflipng -m screen-fs8.png screen.png # Outputs a new screen.png
   rm screen-fs8.png
   ```
   
   ### What testing has been done on this change?
   Made a successful build of Hello Cordova
   
   ### APK file sizes (debug)
   **Before:** 4976124 bytes (4.8 MB)
   **After:** 1696505 bytes (1.7MB)
   
   ### Checklist
   - [x] Reported [issue CB-13610](https://issues.apache.org/jira/browse/CB-13610) in the JIRA database
   - [x] Commit message follows the format
   - [x] Added automated test coverage as appropriate for this change. (N/A)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Android default image assets are not compressed
> -----------------------------------------------
>
>                 Key: CB-13610
>                 URL: https://issues.apache.org/jira/browse/CB-13610
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Darryl Pogue
>            Assignee: Darryl Pogue
>            Priority: Minor
>
> The default splash screen and app icon images in Cordova-Android account for 7MB, and get bundled into the apk with minimal compression.
> Running them through pngquant and zopflipng results in assets that are only 1.7MB, which is a savings of 75%



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org