/shrink-png

Tool combining pngcrush and optipng to optimize input PNG

Primary LanguageGoMIT LicenseMIT

About

Tool using pngcrush and optipng to optimize input PNG

Installation

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

License

Under MIT