All Projects → tinify → Tinify Python

tinify / Tinify Python

Licence: mit
Python client for the Tinify API.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Tinify Python

Optimize Images
A command-line interface (CLI) utility written in pure Python to help you reduce the file size of images.
Stars: ✭ 141 (+48.42%)
Mutual labels:  image-compression, image-optimization
tinify-net
.NET client for the Tinify API.
Stars: ✭ 45 (-52.63%)
Mutual labels:  image-compression, image-optimization
Essential Image Optimization
Essential Image Optimization - an eBook
Stars: ✭ 1,950 (+1952.63%)
Mutual labels:  image-compression, image-optimization
Imgbot
An Azure Function solution to crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the dimensions and quality untouched. Once it's done, ImgBot will open a pull request for you to review and merge. [email protected]
Stars: ✭ 732 (+670.53%)
Mutual labels:  image-compression, image-optimization
docker-imgproxy
🌐 An ultra fast, production-grade on-the-fly image processing web server. Designed for high throughput with Nginx caching. Powered by imgproxy.
Stars: ✭ 45 (-52.63%)
Mutual labels:  image-compression, image-optimization
Tinify Java
Java client for the Tinify API.
Stars: ✭ 107 (+12.63%)
Mutual labels:  image-compression, image-optimization
pngloss
Lossy compression of PNG images
Stars: ✭ 73 (-23.16%)
Mutual labels:  image-compression, image-optimization
Emage
🧙‍♂️ From developers to developers: a cross-platform tool for losslessly image compression.
Stars: ✭ 99 (+4.21%)
Mutual labels:  image-compression, image-optimization
zImageOptimizer
Simple image optimizer for JPEG, PNG and GIF images on Linux, MacOS and FreeBSD.
Stars: ✭ 108 (+13.68%)
Mutual labels:  image-compression, image-optimization
tinify-ruby
Ruby client for the Tinify API.
Stars: ✭ 41 (-56.84%)
Mutual labels:  image-compression, image-optimization
Imgp
📸 High-performance cli batch image resizer and rotator
Stars: ✭ 744 (+683.16%)
Mutual labels:  image-compression, image-optimization
Compress Images
Minify size your images. Image compression with extension: jpg/jpeg, svg, png, gif. NodeJs
Stars: ✭ 331 (+248.42%)
Mutual labels:  image-compression, image-optimization
Tinify Php
PHP client for the Tinify API.
Stars: ✭ 204 (+114.74%)
Mutual labels:  image-compression, image-optimization
Imgbot
An Azure Function solution to crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the dimensions and quality untouched. Once it's done, ImgBot will open a pull request for you to review and merge. [email protected]
Stars: ✭ 1,017 (+970.53%)
Mutual labels:  image-compression, image-optimization
Imager
Automated image compression for efficiently distributing images on the web.
Stars: ✭ 266 (+180%)
Mutual labels:  image-compression, image-optimization
Image Resizer
On-the-fly image resizing using Node.js and libvips. Heroku Ready!
Stars: ✭ 59 (-37.89%)
Mutual labels:  image-compression, image-optimization
Enfasten
⚡️ Automatically make your site faster with optimized responsive images
Stars: ✭ 56 (-41.05%)
Mutual labels:  image-optimization
Caesium Image Compressor
Caesium is a cross-platform image compression software aimed at helping photographers, bloggers, webmasters, businesses or casual users at storing, sending and sharing digital pictures. Based on libcaesium.
Stars: ✭ 595 (+526.32%)
Mutual labels:  image-compression
Kraken Node
Official Kraken.io module for Node.js
Stars: ✭ 76 (-20%)
Mutual labels:  image-optimization
Image Optimizer
Simple lossless compression for Elementary OS
Stars: ✭ 52 (-45.26%)
Mutual labels:  image-optimization

Build Status

Tinify API client for Python

Python client for the Tinify API, used for TinyPNG and TinyJPG. Tinify compresses your images intelligently. Read more at http://tinify.com.

Documentation

Go to the documentation for the Python client.

Installation

Install the API client:

pip install tinify

Usage

import tinify
tinify.key = 'YOUR_API_KEY'

tinify.from_file('unoptimized.png').to_file('optimized.png')

Running tests

pip install -r requirements.txt -r test-requirements.txt
nosetests

Integration tests

pip install -r requirements.txt -r test-requirements.txt
TINIFY_KEY=$YOUR_API_KEY nosetests test/integration.py

License

This software is licensed under the MIT License. View the license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].