Skip to content

andreasmischke/tinypng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

tinypng

Python3 commandline client for tinypng.com

Installation

You need to install python3 and requests first.

Then clone this repository or download just the tinypng file.

Get an API Key from tinypng.com and put it in .tinypng_api_key in your home directory:

/home/$USER/.tinypng_api_key

Add the file to your PATH environment variable and use it!

Usage

usage: tinypng [-h] [-o OUTPUT] inputfile

positional arguments:
  inputfile             The file to be tinified. May be JPG or PNG

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Filename where the tinified output should be stored.
                        Defaults to inputfile with ".tiny" inserted before the
                        file type extension

License

See the LICENSE file for license rights and limitations (MIT).

About

Python3 commandline client for tinypng.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages