diff options
Diffstat (limited to 'image')
-rwxr-xr-x | image/compress-pngs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/image/compress-pngs b/image/compress-pngs deleted file mode 100755 index 3872363672..0000000000 --- a/image/compress-pngs +++ /dev/null @@ -1,15 +0,0 @@ -#!/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 |