Created
July 28, 2018 00:54
-
-
Save ryancdotorg/2970604ecf2492306a9c870316958d30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# brotlipng.sh by @ryancdotorg | |
pngcrush -q -force -m 1 -l 0 "$1" ".$1.tmp" && \ | |
brotli -fj ".$1.tmp" -o "$1.br" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment