Compression

Home Lossy Lossless

Lossy compression

...makes a file's size smaller, while losing some information.

For example, with an image file, the image's colour depth and pixel resolution will decrease, so it may look worse but more of these files can be stored in the same space.

Example of lossy compression. As the compression amount increases, the image quality becomes visibly worse.

Try using the slider below, which will try to simulate colour depth and resolution!

This also works on other file types.

One of these is audio files, like .mp3. This can be done by reducing the sample rate (no. of samples taken per second), or the bit depth (no. of bits used to record each sample).

With large amounts of compression, the file will sound much worse, but can reduce the storage space required significantly

Example of lossy audio. The waveform is limited to certain increments.