- Almost any linux based shell.
- Cygwin shell on Windows.
- Git Bash on Windows.
- cURL
- Some patience.
- Create a file named
.tinify_api_keyone level above thetinifier.shfile. This file should contain the tinify.com API key without a leading CR and/or LF. - Create two folders named
filesandcompressedin the same folder astinifier.sh. - Place all pictures which needs to be compressed, inside the
filesfolder. - If you are on linux, ensure that
tinifier.shis chmodded to755. - Run
./tinifier.sh.