Use Tinypng to optimize your Android resource picture

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.