![Gerald Combs](/assets/img/avatar_default.png)
it more obvious (particularly at 16x16 pixels) that it and the "start capture" icons work like media controls. Update compress-pngs to match the latest version of pngcrush and recompress our PNGs. Add a "clean-pixmaps" target to ui/gtk/Makefile.am to make it easier to rebuild our pixbuf includes. svn path=/trunk/; revision=48776
16 lines
451 B
Bash
Executable file
16 lines
451 B
Bash
Executable file
#!/bin/bash
|
|
|
|
FILE_LIST_CMD="find . -type f -name \"*.png\""
|
|
|
|
if [ -n "$1" ] ; then
|
|
FILE_LIST_CMD="echo $1"
|
|
fi
|
|
|
|
bash -c "$FILE_LIST_CMD" | while read PNG_FILE ; do
|
|
echo Compressing $PNG_FILE
|
|
hash optipng 2>/dev/null && optipng -o3 -quiet "$PNG_FILE"
|
|
hash advpng 2>/dev/null && advpng -z -4 "$PNG_FILE"
|
|
hash advdef 2>/dev/null && advdef -z -4 "$PNG_FILE"
|
|
hash pngcrush 2>/dev/null && pngcrush -q -ow -brute "$PNG_FILE"
|
|
done
|