
The API will resize your images and crop away the parts that are visually the least interesting.TinyPng is the app I use to compress all the images on my WordPress website. Take advantage of smart cropping to create thumbnails with different aspect ratios. Resizing includes correct gamma scaling, bicubic transparency edge correction and natural image sharpening. You only have to upload the original once and then generate the image sizes you need. The API can resize your images as well as optimising them. When doing this you may also set custom Cache-Control and Expires headers. You can instruct the API to save the optimized images directly in your Amazon S3 or Google Cloud Storage buckets. For PNG images the copyright information can be preserved. You can choose to preserve copyright information, the GPS location and the creation date in the compressed JPEG images. Convert images to WebP, JPEG or PNG (new)Ĭonvert your images to another format, or ask the API to give you the smallest image format! Images with a transparent background can be filled with a color you specify. You can either upload images directly or specify a URL to the image you want to compress. Upload directly or provide a URL to the image You only have to upload your source image and download the result. The API compresses WebP, JPEG and PNG images.

curl -user api: YOUR_API_KEY \įeatures Same API for WebP, JPEG & PNG images The server will compress your image and respond with a URL where you can grab the result. You can also create your own integration with any HTTP(S) client. The community has also created a large number of third-party add-ons using the Developer API. You can also use the WordPress plugin to compress your JPEG and PNG images. Official client libraries are available for Ruby, PHP, Node.js, Python, Java and. Once you retrieve your key, you can immediately start shrinking images. Go straight to the reference and view the examples how to use the API in your own code.
