Skip to content

Files

Latest commit

4700297 · Apr 22, 2024

History

History
This branch is 112 commits behind TheAlgorithms/Python:master.

compression

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 28, 2020
Sep 23, 2023
Sep 28, 2020
Apr 22, 2024
Apr 2, 2024
Apr 22, 2024
Apr 22, 2024
Mar 13, 2024
Oct 16, 2022
Oct 2, 2022

Compression

Data compression is everywhere, you need it to store data without taking too much space. Either the compression loses some data (then we talk about lossy compression, such as .jpg) or it does not (and then it is lossless compression, such as .png)

Lossless compression is mainly used for archive purpose as it allows storing data without losing information about the file archived. On the other hand, lossy compression is used for transfer of file where quality isn't necessarily what is required (i.e: images on Twitter).