Save
...
Part 3: Digital Media
Compression Of Digital Files
Lossless Compression
Save
Share
Learn
Content
Leaderboard
Learn
Created by
King Mole
Visit profile
Cards (13)
Lossless compression
The digital data is stored in a compressed form such that it can be recovered,
sample
for
sample
, with nothing altered. Nothing is taken away or lost.
View source
Lossless
compression
Computer ZIP file (created using the popular Winzip compression software)
View source
Dictionary
-based coding
A
powerful form
of
lossless
coding
View source
Dictionary
-based coding
Lempel–Zev–Welch
(LZW) algorithm, found in the
Winzip
software
View source
Compression algorithm
1. Scans for
patterns
2. Translates
patterns
into something that takes up less
space
View source
Text
compression example
When the going gets
tough
, the
tough
get going.
View source
The original sentence uses
47
units of memory
View source
The compressed version uses only
27
units of memory
View source
Dictionary
the
going
tough
View source
Compressed version
When 1 2 gets
3
, 1 3 get
2.
View source
Run
-length encoding
Compression method where 'runs' of similar data items are recognised and
replaced
with a single instance of the data item, together with a number indicating how many times the item is
repeated
View source
Run
-length encoding example
The striped pattern 01010101010101 can be represented as 7(01)
View source
Lossless
coding use
Simple images, such as line drawings and simple shapes in the
GIF
(
Graphics Interchange Format
) format used for images on websites
View source