图像有损压缩与无损压缩
Modern web browsers accept four image formats by default: JPEG, GIF, PNG and SVG. But before talking about formats, let’s introduce two extremely important terms: lossless and lossy compression.
现代网络浏览器默认接受四种图像格式: JPEG , GIF , PNG和SVG 。 但是在讨论格式之前,我们先介绍两个非常重要的术语: 无损压缩和有损压缩。
Almost all images are compressed in some way. That is, the raw binary data that makes up the individual pixels and their color is packaged up and rearranged to achieve the smallest file size possible for any particular format. There are many different methods of data compression, but every system comes down to one simple question: whether it physically chan