From: Felix Kästner <git@fpunktk.de> Date: Tue, 13 Oct 2015 19:13:00 +0000 (+0200) Subject: add hint to use pngcrush X-Git-Url: https://fpunktk.de/gitweb/?a=commitdiff_plain;h=4604ef49063d9063c7368d877637625b582d9103;p=consearch.git add hint to use pngcrush --- diff --git a/index.php b/index.php index a708d96..846078b 100644 --- a/index.php +++ b/index.php @@ -123,7 +123,7 @@ b64images["leo.png"] = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAACXBIWXMA <?php // for f in *.ico; do for q in {0..100}; do convert -quality $q $f ${f%*.ico}$q.png; done; echo "b64images[\"${f%*.ico}.png\"] = \"$(base64 $(\ls -1S ${f%*.ico}*.png | tail -n 1) | tr -d '\n')\";"; done -// try optipng +// try optipng or pngcrush // for f in *.png; do echo "b64images[\"${f}\"] = \"$(base64 $f | tr -d '\n')\";"; done > tmp.js ?>