Home  >  Article  >  What is the difference between PNG8 and PNG24?

What is the difference between PNG8 and PNG24?

Guanhui
GuanhuiOriginal
2020-06-13 17:49:2311944browse

What is the difference between PNG8 and PNG24?

What is the difference between PNG8 and PNG24?

1. PNG8 only has a 1-bit Boolean transparency channel, while PNG24 has an 8-bit Boolean transparency channel;

2. PNG8 does not support the translucency of the alpha channel, while PNG24 Supports alpha channel translucency, and each lattice has transparency defined.

Definition of PNG

Portable Network Graphics is a lossless compressed bitmap graphics format designed to attempt to replace GIF and TIFF file formats, while adding some features that the GIF file format does not have. PNG uses a lossless data compression algorithm derived from LZ77, which is generally used in JAVA programs, web pages or S60 programs because of its high compression ratio and small file size.

How to distinguish PNG8 & PNG24

  • Look at the image in PS - mode, of course png8 only has 8 bits/channels.

  • When you open a png8 picture, PS will add the word "index" to its picture title by default, but png24 does not.

What format should be saved when cutting?

  • Cut colorful and large pictures into jpg;

  • Small size, less colorful and transparent backgrounds are cut into gif or png8;

  • translucent ones are cut into png24.

Recommended tutorial: "PHP Tutorial"

The above is the detailed content of What is the difference between PNG8 and PNG24?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is MPC?Next article:What is MPC?