Access api.tinypng.org from the shell and python scripts
Python module and command line tool for [tinypng.org]
Shrink PNG files. Advanced lossy compression for PNG images that preserves full alpha transparency.
Note: This project is not affiliated with [tinypng.org] or [Voormedia B.V.]
Important: You require an API key which you may obtain from [firstname.lastname@example.org] (as of October 2012).
Besides specifying keys via command line arguments you can:
- Set the environment variable TINYPNG_API_KEY
- Create a .tinypng.keys file in your home directory
- Create a tinypng.keys file in the current directory
Keyfiles must have one key per line. Invalid keys should be removed as they slow down requests.