Skip to main content

Access api.tinypng.org from the shell and python scripts

Project description

Python module and command line tool for [tinypng.org][1]

Shrink PNG files. Advanced lossy compression for PNG images that preserves full alpha transparency.

Note: This project is not affiliated with [tinypng.org][1] or [Voormedia B.V.][2]

Important: You require an API key which you may obtain from [info@tinypng.org][3] (as of October 2012).

Besides specifying keys via command line arguments you can:

  1. Set the environment variable TINYPNG_API_KEY

  2. Create a .tinypng.keys file in your home directory

  3. 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.

[1]: http://tinypng.org [2]: http://voormedia.com/ [3]: mailto:info@tinypng.org

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinypng-1.3.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page