About Compression
If you have ever downloaded anything off the internet, you know that sometimes the downloaded files are in the .zip, .gz or .tar format. These are examples of compression systems, a very handy invention, especially for internet users, because they reduce the overall size of the file to allow transfer over slow internet connections, or take up lesser space on disk. Once you download the file, you can retrieve the original uncompressed file using utilities like WinZip (for Windows) or gzip or tar for Unix. If everything works correctly, the compressed file is identical to the original uncompressed file, so that when you uncompress the .zip file, you can retrieve all the information in the original file.
Okay, alright, so you guys have already
heard about Winzip and .zip files, and are
starting to yawn. But now, what if I told you that almost all the files
that you download, including .mpeg, .mp3,
.avi, .rm, .jpg, .gif
files, aren't actually uncompressed files? And that the very television
shows that you love and trust to make you laugh consist of compressed information?!?!
If you aren't impressed, then you probably know most of what these pages
are about - compression of audio, video and video stills.
But:
if you just sat up straight in your chair and lost that yawn, welcome!
Some more facts, just to prove the point:
The storage of uncompressed graphics, audio and video not is not feasible even with DVDs (which can store about 20 GB of information). Uncompressed graphics also require high bandwidth for transmission, meaning that the number of bits to be transferred per second is very high. This you have probably experienced before, especially when you are streaming a movie online and are trying to load another page with lots of graphics on another window at the same time - you notice that the graphics don't load as fast as they would if you weren't streaming the movie, because your internet connection probably allows you to transfer (upload or download) only a fixed number of bits per second, and the movie is taking up most of this alloted bandwidth. This also happens if you are using a P2P software like Kazaa to download an mp3 file while someone else is uploading a movie file from you - if there are too many users trying to access your files, most of your bandwidth is expended in them uploading your files and your download becomes slow.
Without compression:

So, there are three things to
think about here -
Go to the next page, or use one of the following quick links:
Main
Page
Motivation
For Compression - Some True Stories
A
Brief History of Compression (heheh - brief, compress... get it?)
Requirements
From Any Compression Algorithm
Data
Compression Fundamentals
Some
Compression Techniques
Video
Compression Techniques: The MPEG-1 Standard
The
Future: MPEG-4 And MPEG-7
Related
Links
Contact Me: sundar@pha.jhu.edu
Copyright © Sundar Srinivasan
2002