Created
October 11, 2018 11:52
-
-
Save leemour/21aca6da08ce0bbef5092d29a240a463 to your computer and use it in GitHub Desktop.
Optimize png images with pngquant and optipng
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name '*.png' -exec pngquant -ext .png -force 256 {} \; | |
find -type f -name "*.png" -exec optipng \-o2 \-strip all '{}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment