tools: Add oxipng to compress-pngs.sh.

Change-Id: I2dc6871fe2288d86bdfda1161afcc25200ded823
Reviewed-on: https://code.wireshark.org/review/34208
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2019-08-07 15:43:41 -07:00
parent 0dfb50ef82
commit 9a1d7caac3
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ all: $(PNG_FILES)
$(PNG_FILES): FORCE
@echo Compressing $@
@hash oxipng 2>/dev/null && oxipng -o 4 --strip safe "$@"
@hash optipng 2>/dev/null && optipng -o3 -quiet "$@"
@hash advpng 2>/dev/null && advpng -z -4 "$@"
@hash advdef 2>/dev/null && advdef -z -4 "$@"