shoreger.blogg.se

Tinypng api
Tinypng api












tinypng api

The effect is nearly invisible but it makes a very large difference in file size!Īdvanced lossy compression for PNG images that preserves full alpha transparency. By selectively decreasing the number of colors in the image, fewer bytes are required to store the data.

tinypng api

TinyPNG uses smart lossy compression techniques to reduce the file size of your PNG files. Head over to TinyPng website to checkout how it works. All you need to do is to copy the script, put it in the root folder of your project and run it. I have a simple script that scans through all your images, and tries to compress them using the tinypng api. And this is nice, since in a typical Android project, you wouldn’t have more than 500 images in any given month :). TinyPng is a nice service which provides you 500 free image compressions a month.














Tinypng api