Compression
Compression
Compression is the process of reducing file size without a significant loss in quality which
results in
o Faster transfer of compressed files, which uses less bandwidth than uncompressed
files.
Lossless Compression
o E.g. bitmap (.bmp), vector graphic (.svg) and .png images, text file compression,
database records
Form of lossless compression which is used for compressing text files and
bitmap images.
Repeating sequence of elements encoded in two values: run count and run
value.
In ‘2B’ 2 is the run count and B is the run value, which represents a run of
two adjacent black pixels
Lossy Compression
o File accuracy/quality lower than that of lossless but file size is lower (~10% of
lossless).
o Sound files compression (.mp3) utilizes Perceptual Coding to remove certain parts of
sound that are less audible/discernible to human hearing.