pngcrush
PNG compression utility. More information: <https://pmt.sourceforge.io/pngcrush>.
Install
- All systems
-
curl cmd.cat/pngcrush.sh
- Debian
-
apt-get install pngcrush
- Ubuntu
-
apt-get install pngcrush
- Alpine
-
apk add pngcrush
- Arch Linux
-
pacman -S pngcrush
- Kali Linux
-
apt-get install pngcrush
- CentOS
-
yum install pngcrush
- Fedora
-
dnf install pngcrush
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install pngcrush
- OS X
-
brew install pngcrush
- Raspbian
-
apt-get install pngcrush
- Dockerfile
- dockerfile.run/pngcrush
- Docker
-
docker run cmd.cat/pngcrush pngcrush
powered by Commando
PNG compression utility. More information: <https://pmt.sourceforge.io/pngcrush>.
-
Compress a PNG file:
pngcrush in.png out.png
-
Compress all PNGs and output them to the specified directory:
pngcrush -d path/to/output *.png
-
Compress PNG file with all 114 available algorithms and pick the best result:
pngcrush -rem allb -brute -reduce in.png out.png
© tl;dr; authors and contributors