teach-ict.com logo

THE education site for computer science and ICT

1. Introduction

Compression is the process of reducing the size of a data file whilst still retaining most, or even all, of the original information. You can compress most types of file, including documents, music files, video and image files.

Data streaming services compress their files to reduce the amount of bandwidth needed to transfer files. If they used uncompressed files, the service would be very slow.

Why do we compress files? The main reasons are:

  • Less storage space required for files
  • Faster download and uploads
  • Smaller file attachments for email
  • Coping with slow links when streaming