Skip to content

Instantly share code, notes, and snippets.

@jingoro
Created May 7, 2013 03:41
Show Gist options
  • Save jingoro/5530109 to your computer and use it in GitHub Desktop.
Save jingoro/5530109 to your computer and use it in GitHub Desktop.
#!/bin/sh
for file in $*; do
advpng -z1 "$file" && optipng -i0 -o7 "$file" && advpng -z4 "$file"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment