forked from osmocom/wireshark
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:
parent
0dfb50ef82
commit
9a1d7caac3
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in New Issue