Skip to content

Tool combining pngcrush and optipng to optimize input PNG

License

Notifications You must be signed in to change notification settings

martinlindhe/shrink-png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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