Tool using pngcrush and optipng to optimize input PNG
First, you need to install pngcrush
and optipng
:
Arch:
sudo pacman -S pngcrush optipng
Debian/Ubuntu:
sudo apt-get install pngcrush optipng
OSX (homebrew):
brew install pngcrush optipng
Windows (scoop):
scoop install pngcrush optipng
Next, download shrink-png from Releases, or build it from source:
go install github.com/martinlindhe/shrink-png@latest
Under MIT