Go The difference between PNG8 and PNG24

Source: Internet
Author: User

First we need to know:

the fundamental difference between 1.PNG8 and Png24 is not the difference between color bits, but the way they are stored.

The 2.PNG8 has a 1-bit Boolean transparent channel (either completely transparent or completely opaque), andPng24 has a 8-bit (256-Step) Boolean transparent channel (so-called translucent).

There are some similarities between png-8 and GIF, which are indexed colors, support only pixel-level pure transparency, and do not support alpha transparency.

What we usually call "IE6 does not support PNG transparency" refers to the transparency that does not support PNG-24. But IE6 supports PNG-8 transparency, just as it supports gif transparency.

So we have a direction at work:

1. Color-rich, large images are cut into JPG;
2. Small size, the color is not rich and the background transparent cut into gif or Png8;
3. Translucent cut into png24.  

Back to the question at the beginning of this article, How to differentiate (the simplest of 2 ways):

1. Look at the image ---mode in PS,Png8 of course only 8 bits /channel.

2. When you open the Png8 picture,PS will default to its image title with "index" word,png24 is not.

3. File attribute details.

Original:

Http://www.cnblogs.com/snowinmay/archive/2013/04/25/3043550.html

Refer to:

About GIF picture (or PNG8) edge aliasing--Zhang Xin Xu

http://www.zhangxinxu.com/wordpress/2009/09/%E5%85%B3%E4%BA%8Egif%E5%9B%BE%E7%89%87%EF%BC%88%E6%88%96png8%EF% bc%89%e6%9d%82%e8%be%b9%e9%94%af%e9%bd%bf%e7%9a%84%e9%97%ae%e9%a2%98/

[Differences between]png8 and PNG24

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.