Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(images): optimize png images losslessly with zopflipng #383

Merged
merged 1 commit into from
Sep 28, 2017

Conversation

PeterDaveHello
Copy link
Contributor

Use Google's zopflipng to re-compress the png images losslessly!

39 images were optimized as below:

 android/app/src/main/res/mipmap-hdpi/ic_launcher.png                               | Bin 1617 -> 1545 bytes
 android/app/src/main/res/mipmap-hdpi/ic_round_launcher.png                         | Bin 2985 -> 2209 bytes
 android/app/src/main/res/mipmap-mdpi/ic_launcher.png                               | Bin 1169 -> 1137 bytes
 android/app/src/main/res/mipmap-mdpi/ic_round_launcher.png                         | Bin 1871 -> 1398 bytes
 android/app/src/main/res/mipmap-xhdpi/ic_launcher.png                              | Bin 2302 -> 1493 bytes
 android/app/src/main/res/mipmap-xhdpi/ic_round_launcher.png                        | Bin 4243 -> 3162 bytes
 android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png                             | Bin 3485 -> 2217 bytes
 android/app/src/main/res/mipmap-xxhdpi/ic_round_launcher.png                       | Bin 6659 -> 4934 bytes
 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png                            | Bin 4937 -> 3130 bytes
 android/app/src/main/res/mipmap-xxxhdpi/ic_round_launcher.png                      | Bin 9538 -> 7064 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-20@1x.png                     | Bin 607 -> 343 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-20@2x.png                     | Bin 1023 -> 629 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-20@3x.png                     | Bin 1396 -> 911 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-29@1x.png                     | Bin 754 -> 447 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-29@2x.png                     | Bin 1340 -> 883 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-29@3x.png                     | Bin 1950 -> 1324 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-40@1x.png                     | Bin 1023 -> 629 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-40@2x.png                     | Bin 1822 -> 1219 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-40@3x.png                     | Bin 2691 -> 1853 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-50@1x.png                     | Bin 1176 -> 765 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-50@2x.png                     | Bin 2273 -> 1554 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-57@1x.png                     | Bin 1318 -> 873 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-57@2x.png                     | Bin 2546 -> 1742 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-60@2x.png                     | Bin 2691 -> 1853 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-60@3x.png                     | Bin 4300 -> 3037 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-72@1x.png                     | Bin 1643 -> 1102 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-72@2x.png                     | Bin 3300 -> 2311 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-76@1x.png                     | Bin 1719 -> 1151 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-76@2x.png                     | Bin 3571 -> 2497 bytes
 ios/GitPoint/Images.xcassets/AppIcon.appiconset/icon-83.5@2x.png                   | Bin 3966 -> 2755 bytes
 ios/GitPoint/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png           | Bin 7425 -> 5434 bytes
 ios/GitPoint/Images.xcassets/LaunchImage.launchimage/Default-667h@2x.png           | Bin 9381 -> 7143 bytes
 ios/GitPoint/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h@3x.png | Bin 17697 -> 14364 bytes
 ios/GitPoint/Images.xcassets/LaunchImage.launchimage/Default-Portrait-736h@3x.png  | Bin 19359 -> 14976 bytes
 ios/GitPoint/Images.xcassets/LaunchImage.launchimage/Default@2x.png                | Bin 6177 -> 4483 bytes
 src/assets/git-point-icon.png                                                      | Bin 5872 -> 3015 bytes
 src/assets/loading-avatar.png                                                      | Bin 8123 -> 3223 bytes
 src/assets/logo-black.png                                                          | Bin 17954 -> 13387 bytes
 src/assets/logo.png                                                                | Bin 26497 -> 8551 bytes

@andrewda andrewda changed the title Optimize png images losslessly with zopflipng feat(images): optimize png images losslessly with zopflipng Sep 28, 2017
Copy link
Member

@housseindjirdeh housseindjirdeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow thank you so much @PeterDaveHello, don't forgot to add yourself as a contributor! Happy to take another PR for that :)

@housseindjirdeh housseindjirdeh merged commit a7682aa into gitpoint:master Sep 28, 2017
@PeterDaveHello PeterDaveHello deleted the image-optimize branch September 29, 2017 01:34
@PeterDaveHello
Copy link
Contributor Author

Thank you both.

@PeterDaveHello
Copy link
Contributor Author

Done in #389

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants