pxpx
ワークベンチに戻る

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.

PNG1996
无损透明

无损 + 透明,截图与图标首选;1996 年为替代 GIF 专利而生。

JPEG1992
有损

1992 年 DCT 有损压缩,照片的事实标准,无透明。

WebP2010
有损透明动画

Google 2010 年推出,比 JPG 小约 30%,支持透明与动画。

AVIF2019
有损透明

2019 年基于 AV1 视频编码,压缩率最高,兼容性仍在普及。

GIF1987
无损透明动画

1987 年 CompuServe 推出,256 色 + LZW,动图鼻祖。

SVG2001
无损透明动画

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.

Related pages