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 Distributions

tinypng-1.1.2.zip (7.6 kB view details)

Uploaded Source

tinypng-1.1.2.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file tinypng-1.1.2.zip.

File metadata

  • Download URL: tinypng-1.1.2.zip
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tinypng-1.1.2.zip
Algorithm Hash digest
SHA256 21049bbd76d48a3bfef4d51a1f11085635c0acc0194bb56d5f386bd7a96a7f18
MD5 bfa3d1fd904fd1e6ccf65121137196a5
BLAKE2b-256 2210a9c76490e5caeea12c82cba0a76e6eb89c30d7cab0e34be944bc415d5939

See more details on using hashes here.

File details

Details for the file tinypng-1.1.2.tar.gz.

File metadata

  • Download URL: tinypng-1.1.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tinypng-1.1.2.tar.gz
Algorithm Hash digest
SHA256 7ac828d34c781756ef29bb6448ce5a233f482328e1405eb84006abb1bf78b90a
MD5 8457b592aad122bc7bb275a9fe4003ed
BLAKE2b-256 9cf024054ece9ffa52d5fb77aec8ee018fbfdb84b530059f68e6212fd0d349f3

See more details on using hashes here.

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