We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe001e2 commit fa55da2Copy full SHA for fa55da2
scripts/squash-images.sh
@@ -3,13 +3,11 @@
3
# pip install pillow
4
python3 scripts/thumbnail-images.py
5
6
-# https://pngquant.org/
7
-# On Mac: brew install pngquant
+# https://pmt.sourceforge.io/pngcrush/
+# On Mac: brew install pngcrush
8
9
# Options:
10
-# --ext .png Output to same filename, don't append anything else
11
-# --force Overwrite existing output files
12
-# --speed 1 Slow speed, best quality
13
-# --strip Remove optional metadata
+# -ow Overwrite
+# -brute Use brute-force: try 176 different methods
14
15
-pngquant --ext .png --force --speed 1 --strip assets/*.png img/*.png
+find . -iname '*.png' -exec pngcrush -ow -brute {} \;
0 commit comments