1.3 Data storage & compression

How computers represent text sounds and images

Data is measured in the following units:

Calculating the size of an image file:

Calculating the size of a sound file:

Compression

What is compression?

Why should we compress a file?

Difference between Lossy and Lossless Compression

When to use Lossless or Lossy Compression?

Lossless

Lossy

Lossless compression of files

How is a text file compressed with lossless?

How is a video file compressed with lossless?

How is a sound file compressed with lossless?

How is an image file compressed with lossless?

Lossy compression of files

Video file

Image file

Sound file