All Projects → tinify → Tinify Java

tinify / Tinify Java

Licence: mit
Java client for the Tinify API.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Tinify Java

Tinify Python
Python client for the Tinify API.
Stars: ✭ 95 (-11.21%)
Mutual labels:  image-compression, image-optimization
Image Resizer
On-the-fly image resizing using Node.js and libvips. Heroku Ready!
Stars: ✭ 59 (-44.86%)
Mutual labels:  image-compression, image-optimization
tinify-net
.NET client for the Tinify API.
Stars: ✭ 45 (-57.94%)
Mutual labels:  image-compression, image-optimization
Essential Image Optimization
Essential Image Optimization - an eBook
Stars: ✭ 1,950 (+1722.43%)
Mutual labels:  image-compression, image-optimization
Imager
Automated image compression for efficiently distributing images on the web.
Stars: ✭ 266 (+148.6%)
Mutual labels:  image-compression, image-optimization
pngloss
Lossy compression of PNG images
Stars: ✭ 73 (-31.78%)
Mutual labels:  image-compression, image-optimization
Imgp
📸 High-performance cli batch image resizer and rotator
Stars: ✭ 744 (+595.33%)
Mutual labels:  image-compression, image-optimization
Tinify Php
PHP client for the Tinify API.
Stars: ✭ 204 (+90.65%)
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 (-57.94%)
Mutual labels:  image-compression, image-optimization
zImageOptimizer
Simple image optimizer for JPEG, PNG and GIF images on Linux, MacOS and FreeBSD.
Stars: ✭ 108 (+0.93%)
Mutual labels:  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 (+31.78%)
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 (+584.11%)
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 (+850.47%)
Mutual labels:  image-compression, image-optimization
tinify-ruby
Ruby client for the Tinify API.
Stars: ✭ 41 (-61.68%)
Mutual labels:  image-compression, image-optimization
Compress Images
Minify size your images. Image compression with extension: jpg/jpeg, svg, png, gif. NodeJs
Stars: ✭ 331 (+209.35%)
Mutual labels:  image-compression, image-optimization
Emage
🧙‍♂️ From developers to developers: a cross-platform tool for losslessly image compression.
Stars: ✭ 99 (-7.48%)
Mutual labels:  image-compression, image-optimization
Kraken Magento
Official Kraken.io Magento Extension
Stars: ✭ 21 (-80.37%)
Mutual labels:  image-optimization
Kraken Node
Official Kraken.io module for Node.js
Stars: ✭ 76 (-28.97%)
Mutual labels:  image-optimization
Compression Tools
A Docker image that contains a set of tools for compressing and optimize images in many formats with high results, it also includes GNU Parallel
Stars: ✭ 15 (-85.98%)
Mutual labels:  image-compression
Image Actions
A Github Action that automatically compresses JPEGs, PNGs and WebPs in Pull Requests.
Stars: ✭ 844 (+688.79%)
Mutual labels:  image-compression

Build Status

Tinify API client for Java

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

Installation

Install the API client via Maven:

<dependency>
  <groupId>com.tinify</groupId>
  <artifactId>tinify</artifactId>
  <version>1.0</version>
</dependency>

Usage

import com.tinify.*;
import java.io.IOException;

public class Compress {
  public static void main(String[] args) throws java.io.IOException {
    Tinify.setKey("YOUR_API_KEY");
    Tinify.fromFile("unoptimized.png").toFile("optimized.png");
  }
}

Running tests

mvn test

Integration tests

TINIFY_KEY=$YOUR_API_KEY mvn -Pintegration integration-test

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