Simple script to compress PNG files faster than in web browser. This works in any operating system with Bash installed.
- Get your API Key in tinypng.com/developers.
- Edit
tinypng.sh
file, overwritingpJNqqHfKLj8Cs7DMFjXrx8rvZ8QrYvVD
with your API Key. - If you're:
- In a UNIX operating system:
- Run
chmod
to all.sh
files; - Run
INSTALL.sh
;
- Run
- In Windows (with MINGW or "Git Bash"):
- Open MINGW in Administrator Mode;
- Run
INSTALL.sh
.
- In a UNIX operating system:
- Run
tinypng yourImage.png
.