aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2019-08-07 15:43:41 -0700
committerGerald Combs <gerald@wireshark.org>2019-08-08 16:36:31 +0000
commit9a1d7caac3eeeaf464e6cd3063f0095ad362096f (patch)
treeb8932cdb078aff3d4c649680a8f48e1707ff228a /tools
parent0dfb50ef82067406dc42fa7298302e5ea6cb7348 (diff)
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/compress-pngs.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/compress-pngs.sh b/tools/compress-pngs.sh
index 8d21a77d70..50886da44e 100755
--- a/tools/compress-pngs.sh
+++ b/tools/compress-pngs.sh
@@ -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 "$@"