1.5 Data compression Flashcards
(6 cards)
What is compression?
A method that uses an
algorithm to reduce the size of a file.
What is lossless compression?
No data is lost — original file can be exactly restored.
What is lossy compression?
Some data is removed — smaller file but original can’t be fully restored.
A method that uses an
algorithm to reduce unnecessary and
redundant data in the file. This data is permanently removed from the file. Ex: Images, sound files
What is Run-Length Encoding (RLE)?
A type of lossless compression that stores repeated values as counts.
This algorithm will group together repeating pixels
and store how many times they occur.
Benefits of compression
- Not as much storage space is needed to store the file.
- It will take less time to transmit the file from one device to another.
- It will be quicker to upload and download the file.
- Not as much bandwidth is needed to transmit the file over the internet.
perceptual music
shaping:
a process that is used in lossy compression that removes sounds that are not normally heard by the human ear.