A simple command line utility to compress .PNG images using tinypng.com
-
Get a developer API Key.
-
Paste the API key in
tiny.py -
Install python package
tinifypip3 install --upgrade tinify
-
Copy
tiny.pyin the folder ,where there are images to compress -
Open terminal
-
Run
python3 tiny.py
Images will be compress and will be stored in
outputfolder