COMPRESSION

BY ABDULLAH MOHAMMED

WHAT IS COMPRESSION?

Compression can be used in many useful ways in order to reduce the size of files so that they are more useful. For instance, the reduction of file size, reduces the download times and the storage requirements.

WHAT ARE THE DIFFERENT TYPES OF COMPRESSION?

There are two different types of compression which consist of LOSSY and LOSSLESS.

LOSSY

Lossy removes some of the data from a file to reduce its size. It also removes data that is least likely to be noticed by human senses. Furthermore, once compressed, the file cannot be restored to its original quality.


LOSSLESS

Sometimes its important not to lose any data in a file. For example, if something was removed from a computer, it would not run. A text file must contain all the words otherwise it may not make sense. It is possible to compress a file without loosing any data. This involves storing data about the file so hat it can be recreated later

Why are some files compressed/ converted to different file types before being uploading to the web?

Files are mainly compressed before being uploaded to the internet because of two main reasons, such as :

  • It loads files faster
  • It allows you to save more things

Pictures that have been compressed before and after

Big image