Ruby client for the Tinify API, used for TinyPNG and TinyJPG. Tinify compresses your images intelligently. Read more at http://tinify.com.
Go to the documentation for the Ruby client.
Install the API client:
gem install tinify
Or add this line to your application's Gemfile:
gem "tinify"
require "tinify"
Tinify.key = "YOUR_API_KEY"
Tinify.from_file("unoptimized.png").to_file("optimized.png")
bundle install
rake
bundle install
TINIFY_KEY=$YOUR_API_KEY rake integration
This software is licensed under the MIT License. View the license.