Category of data compression algorithms
- Lossless compression algorithms
Lossless data compression algorithms usually exploit statistical redundancy to represent data without losing any information, so that the process is reversible. Lossless compression is possible because most real-world data exhibits statistical redundancy. - Lossy compression algorithms
Lossy data compression is the converse of lossless data compression. In these schemes, some loss of information is acceptable. Dropping nonessential detail from the data source can save storage space. Lossy data compression schemes are designed by research on how people perceive the data in question. For example, the human eye is more sensitive to subtle variations in luminance than it is to the variations in color.
- tar是Linux常见的一种归档文件(原生不包括压缩功能)
- gzip是gnu/Linux的一种压缩文件工具,算法是基于 DEFLATE,文件是gz,可以和tar组合。
- zip是一种规范开放的压缩文件,算法不定,但主要是用 DEFLATE
- rar的算法专有,但发行时附送解码器允许解码器再开发,编码器专有
- 7zip和zip差不多,算法不定,主要用bzip2和lzma,而且完全开源。
- zip和7z更像是压缩容器,因为算法不是格式固定,允许支持其他压缩算法

本文介绍了数据压缩算法的两大类别:无损压缩和有损压缩。无损压缩算法通过利用数据的统计冗余来实现可逆的数据压缩,而有损压缩则通过去除非关键细节以节省存储空间。文中还列举了常见的压缩工具如tar、gzip、zip、rar及7zip等,并简述了它们的特点。
1706

被折叠的 条评论
为什么被折叠?



