Compression Algorithms for Real Programmers - 1st Edition - ISBN: 9780127887746, 9780080502434

Compression Algorithms for Real Programmers

1st Edition

Authors: Peter Wayner
Paperback ISBN: 9780127887746
eBook ISBN: 9780080502434
Imprint: Morgan Kaufmann
Published Date: 30th September 1999
Page Count: 240
44.95 + applicable tax
35.99 + applicable tax
58.95 + applicable tax
Compatible Not compatible
VitalSource PC, Mac, iPhone & iPad Amazon Kindle eReader
ePub & PDF Apple & PC desktop. Mobile devices (Apple & Android) Amazon Kindle eReader
Mobi Amazon Kindle eReader Anything else

Institutional Access

Table of Contents

Preface. Book Notes.

  1. Introduction 1.1 Grading Compression Algorithms 1.2 Philosophical Hurdles 1.3 How to Use this Book 2. Statistical Basics 2.1 Huffman Encoding 2.2 Shannon-Fano Encoding 2.3 Entropy and Information Theory 2.4 Character Grouping Schemes 2.5 Conclusion 3. Dictionary Techniques 3.1 Basic Lempel-Ziv-Welch 3.2 Simple Windows with LZSS 3.3 Coding Notes 3.4 Variations 3.5 Commercially Available Standards 3.6 Conclusions 4. Arithmetic Compression 4.1 Three Examples 4.2 Programming Arithmetic Coding 4.3 Products Using Arithmetic Coding 4.4 Conclusion 5. Adaptive Compression 5.1 Escape Codes 5.2 Adaptive Huffman Coding 5.3 Windows of Data 5.4 Conclusion 6. Grammar Compression 6.1 SEQUITUR 6.2 Code Compression 6.3 Conclusion 7. Programmatic Solutions 7.1 PostScript 7.2 Conclusion 8. Quantization 8.1 Basic Quantization 8.2 Adaptive Quantization 8.3 Vector Quantization 8.4 Dimension Reduction 8.5 Conclusion 9. Wavelet Transforms 9.1 Basic Fourier Mathematics 9.2 Discrete Cosine Transform 9.3 Two-Dimensional Approaches 9.4 Other Wavelet Functions 9.5 Conclusion 10. JPEG 10.1 JPEG Overview 10.2 Basic JPEG 10.3 JPEG Enhancements<BR id="CRLF"


In life, time is money, and on the Internet, the size of data is money. Small programs and small files take less disk space and cost less to send over the Internet. Compression Algorithms for Real Programmers describes the basic algorithms and approaches for compressing information so you can create the smallest files possible. These new algorithms are making it possible for people to take impossibly large audio and video files and compress them enough that they can flow over the Internet.

Key Features

  • Examines the classic algorithms like Huffman coding, arithmetic compression, and dictionary-based schemes in depth
  • Describes the basic approaches used to squeeze audio and video signals by factors of as much as 100:1
  • Discusses the philosophy of compression to illustrate the underlying trade-offs in the algorithms
  • Explores the use of wavelets and other modeling techniques that use repetitive functions to squeeze audio and video
  • Shows how programming solutions like Adobe PostScript can save space and make networks more efficient
  • Describes new approaches using fractals and grammars just being explored by the compression community
  • Shows how to extend the algorithms and use them for copyright protection


programmers, software engineers


No. of pages:
© Morgan Kaufmann 2000
Morgan Kaufmann
eBook ISBN:
Paperback ISBN:

About the Authors

Peter Wayner Author

Peter Wayner is a writer living in Baltimore and is the author of Digital Cash and Agents at Large (both Academic Press). His writings appear in numerous academic journals as well as the pages of more popular forums such as MacWorld and the New York Times. He has taught various computer science courses at Cornell University and Georgetown University.

Affiliations and Expertise

Writer, Baltimore, MD, USA