The optimoida is a command line application to optimize image file (jpg
, png
only) by TinyPNG
You have to get TinyPNG API Key at here.
Please write API Key you got to optimoida.ini
.
And move optimoida.ini
to ~/.optimoida.ini
$ mv optimoida.ini ~/.optimoida.ini
optimoida [PATH [PATH ...]]
- PATH - The image file or directory path. allowed multiple argument.
$ pip install optimoida
or
$ git clone git@github.com:alice1017/optimoida.git
$ cd optimoida
$ python setup.py build install
- Forks on Github
- Find a bug? Send a pull request to get it merged and published.
- Appended a file size information.
- Changed the file path from abspath to filename only.