PNG: The Lossless Workhorse
PNG (Portable Network Graphics) was released in 1996 as a free replacement for the patent-encumbered GIF. Today it is the default for screenshots, UI assets and any image that needs transparency.
无损 + 透明,截图与图标首选;1996 年为替代 GIF 专利而生。
1992 年 DCT 有损压缩,照片的事实标准,无透明。
Google 2010 年推出,比 JPG 小约 30%,支持透明与动画。
2019 年基于 AV1 视频编码,压缩率最高,兼容性仍在普及。
1987 年 CompuServe 推出,256 色 + LZW,动图鼻祖。
2001 年 W3C 矢量标准,无限缩放,图标与插画首选。
Chunks and compression
A PNG file is a signature followed by chunks: IHDR (dimensions), PLTE (palette), IDAT (zlib/DEFLATE pixel data) and IEND. Each chunk carries a CRC checksum, making corruption easy to detect.
When PNG wins
Text, line art, screenshots and anything with sharp edges or alpha should stay PNG. For photos, WebP/AVIF will be much smaller. Use our PNG to WebP converter when publishing online.