Compression

Compression, or "data compression," is used to reduce the size of one or more files. When a file is compressed, it takes up less disk space than an uncompressed version and can be transferred to other systems more quickly. Therefore, compression is often used to save disk space and reduce the time needed to transfer files over the Internet.

There are two primary types of data compression:

  1. File Compression
  2. Media Compression

File compression can be used to compress all types of data into a compressed archive. These archives must first be decompressed with a decompression utility in order to open the original file(s). Media compression is used to save compressed image, audio, and video files. Examples of compressed media formats include JPEG images, MP3 audio, and MPEG video files. Most image viewers and media playback programs can open standard compressed file types directly.

File compression is always performed using a lossless compression algorithm, meaning no information is lost during the compression process. Therefore, a compressed archive can be fully restored to the original version when it is decompressed. While some media is compressed using lossless compression, most image, audio, and video files are compressed using lossy compression. This means some of the media's original quality is lost when the file is compressed. However, most modern compression algorithms can compress media with little to no loss in quality.

Updated April 7, 2011 by Per C.

quizTest Your Knowledge

Which of the following is NOT a type of malware?

A
Virus
0%
B
Trojan horse
0%
C
Shareware
0%
D
Spyware
0%
Correct! Incorrect!     View the Shareware definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Compression on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.