Nepedia
Back to Discover
Independent Reader
💻

Data compression

technology Maturity 9-11 war conflict Next article →

This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

Computers use data compression to make files smaller. This helps them save space. It also helps them send files quickly.

Comparison of JPEG and PNG
Comparison of JPEG and PNG

There are two main ways to do this.

Lossless compression keeps all the original information. It works by finding patterns. For example, an image might have many red pixels in a row. Instead of listing every single pixel, the computer writes "279 red pixels." This is called run-length encoding. One popular way to do this is called LZW. This method uses a table to swap repeated parts of data.

Nubio Diff Screenshot3
Nubio Diff Screenshot3

Lossy compression makes files even smaller. It does this by removing bits that are not important. This method accepts some loss of detail to save space. It is often based on how people see or hear. For example, the human eye is very good at seeing brightness. But it is not as good at seeing small changes in color.

Hybrid video encoder processing stages
Hybrid video encoder processing stages

Lossy coding is used for many things. It is used for JPEG images and MP3 music. It is also used for streaming videos on the internet.

175 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (5)
File:Comparison of JPEG and PNG.png
Comparison of JPEG and PNG.png
File:Nubio Diff Screenshot3.png
Nubio Diff Screenshot3.png
File:AudiodatenkompressionManowarThePowerOfThySword.jpg
AudiodatenkompressionManowarThePowerOfThySword.jpg
File:Placa-audioPC-925.jpg
Placa-audioPC-925.jpg
File:Hybrid video encoder processing stages.svg
Hybrid video encoder processing stages.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.