PNG(便携式网络图形)
PNG 是一种无损图像格式,支持完整的 Alpha 透明度。它擅长保留锐利的边缘、文字和图形,不会产生压缩伪影。PNG 是截图、标志、图标以及任何需要透明度的图像的标准选择。
MIME 类型
image/png
类型
二进制
压缩
无损
优点
- + Lossless compression preserves every pixel
- + Full alpha transparency support
- + Excellent for sharp edges and text
- + Wide browser and editor support
缺点
- − Larger file sizes than JPEG for photographs
- − Not ideal for complex photographic content
- − No animation support (use APNG instead)
何时使用 .PNG
适用于需要透明度的图像、截图、标志、文字叠加、图标,以及任何需要无损质量的图形。
技术细节
PNG 采用 DEFLATE 无损压缩,并可选择性地使用过滤器以获得更好的压缩比。它支持 8 位和 16 位色深,并通过 Alpha 通道实现透明效果。
历史
PNG 于 1996 年创建,作为 GIF 的无专利替代品,起因是 Unisys 公司强制执行 LZW 压缩专利。它在 2004 年被标准化为 ISO/IEC 15948。
从 .PNG 转换
转换为 .PNG
相关格式
相关术语
Learn More
Color Theory for Digital Design: A Practical Guide
Understanding color theory helps you create visually harmonious designs that communicate effectively. This guide covers color models, harmony rules, accessibility …
How to Compress Images for the Web
Learn how to reduce image file sizes for faster web page loading without visible quality loss. This guide covers lossy …
How to Merge PDF Files Without Losing Quality
Combining multiple PDF documents into a single file is one of the most common document tasks. This guide walks you …
Image Format Guide: JPEG vs PNG vs WebP vs AVIF
Choosing the right image format affects file size, quality, and browser compatibility. This comparison covers the strengths of JPEG, PNG, …
QR Code Generation: Best Practices for Print and Digital
QR codes bridge physical and digital experiences, but poorly generated codes fail to scan. This guide covers sizing, error correction, …
Social Media Image Sizes: The Complete 2025 Guide
Each social platform has specific image dimensions for profiles, covers, posts, and stories. Using the wrong size results in cropping, …