Tinypng is a support compressed PNG and JPG image format of the website, through its unique algorithm (through a "quantization" technology, the original PNG file 24-bit True color compression to 8-bit index demonstration, is a vector compression method, the color value is replaced by a value of 123. ) can be achieved in the case of lossless compression sheet file size reduced to the original 30%-50%.
Website address:https://tinypng.com/
Test Picture:
Compressed Picture:
We can obviously see that we have reduced the image size by nearly half after compression, and the picture quality has not changed much.
It should be stated that:
Tinypng supports the compression of PNG and JPG images, and also supports compression of 9 graphs.
The disadvantage of tinypng is that when compressing some images with a transition effect (with an alpha value), the picture will be distorted, and this image can convert the PNG image to the WEBP format described below, which can greatly reduce the size of the image if the image quality is guaranteed.
Tinypng provides an open interface for developers to develop their own compression tools, but this is a paid service, for average users, tinypng for each user to provide a monthly picture of the free compression is enough.
Reference from: http://www.open-open.com/lib/view/open1428321523479.html
Use Tinypng to optimize your Android resource picture