All Projects → tinify → tinify-ruby

tinify / tinify-ruby

Licence: MIT license
Ruby client for the Tinify API.

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to tinify-ruby

tinify-net
.NET client for the Tinify API.
Stars: ✭ 45 (+9.76%)
Mutual labels:  tinypng, tinyjpg, image-compression, image-optimization
Optimize Images
A command-line interface (CLI) utility written in pure Python to help you reduce the file size of images.
Stars: ✭ 141 (+243.9%)
Mutual labels:  image-compression, image-optimization
Emage
🧙‍♂️ From developers to developers: a cross-platform tool for losslessly image compression.
Stars: ✭ 99 (+141.46%)
Mutual labels:  image-compression, image-optimization
Essential Image Optimization
Essential Image Optimization - an eBook
Stars: ✭ 1,950 (+4656.1%)
Mutual labels:  image-compression, image-optimization
Imgp
📸 High-performance cli batch image resizer and rotator
Stars: ✭ 744 (+1714.63%)
Mutual labels:  image-compression, image-optimization
Image Resizer
On-the-fly image resizing using Node.js and libvips. Heroku Ready!
Stars: ✭ 59 (+43.9%)
Mutual labels:  image-compression, image-optimization
Tinify Java
Java client for the Tinify API.
Stars: ✭ 107 (+160.98%)
Mutual labels:  image-compression, image-optimization
Tinypng4mac
TinyPNG client for Mac
Stars: ✭ 3,025 (+7278.05%)
Mutual labels:  tinypng, image-compression
tinyimg-webpack-plugin
A webpack plugin for compressing image
Stars: ✭ 61 (+48.78%)
Mutual labels:  tinypng, tinyjpg
TinyJPG
images jpg or jpeg compressed and watcher fsnotify
Stars: ✭ 73 (+78.05%)
Mutual labels:  tinyjpg, image-compression
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 (+1685.37%)
Mutual labels:  image-compression, image-optimization
pngloss
Lossy compression of PNG images
Stars: ✭ 73 (+78.05%)
Mutual labels:  image-compression, image-optimization
Compress Images
Minify size your images. Image compression with extension: jpg/jpeg, svg, png, gif. NodeJs
Stars: ✭ 331 (+707.32%)
Mutual labels:  image-compression, image-optimization
Tinify Python
Python client for the Tinify API.
Stars: ✭ 95 (+131.71%)
Mutual labels:  image-compression, image-optimization
Imager
Automated image compression for efficiently distributing images on the web.
Stars: ✭ 266 (+548.78%)
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 (+9.76%)
Mutual labels:  image-compression, image-optimization
zImageOptimizer
Simple image optimizer for JPEG, PNG and GIF images on Linux, MacOS and FreeBSD.
Stars: ✭ 108 (+163.41%)
Mutual labels:  image-compression, image-optimization
Tinify Php
PHP client for the Tinify API.
Stars: ✭ 204 (+397.56%)
Mutual labels:  image-compression, image-optimization
Imagine
🖼️ PNG/JPEG optimization app for macOS, Windows and Linux.
Stars: ✭ 1,859 (+4434.15%)
Mutual labels:  tinypng, image-compression
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 (+2380.49%)
Mutual labels:  image-compression, image-optimization

Gem MIT License Ruby CI

Tinify API client for Ruby

Ruby 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 Ruby client.

Installation

Install the API client:

gem install tinify

Or add this line to your application's Gemfile:

gem "tinify"

Usage

require "tinify"
Tinify.key = "YOUR_API_KEY"

Tinify.from_file("unoptimized.png").to_file("optimized.png")

Running tests

bundle install
rake

Integration tests

bundle install
TINIFY_KEY=$YOUR_API_KEY rake integration

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