1. Manuel Barkhau
  2. TinyPNG

Overview

HTTPS SSH

TinyPNG API

Python module and command line tool for tinypng.com

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

Note: This project is not affiliated with tinypng.com or Voormedia B.V.

Important: You require an API key which you may obtain from tinypng.com/developers.

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