1.3. Compression Flashcards
1
Q
Compression
A
- The process of reducing file size without a
significant loss in quality which results in: - Reducing the time needed to search for data.
- Faster transfer of compressed files, which uses less
bandwidth than uncompressed files.
2
Q
Lossless Compression
A
- Type of compression that allows original data to
perfectly reconstructed from compressed file when
the file is opened by utilizing some form of
replacement. - E.g. bitmap (.bmp), vector graphic (.svg) and .png
images, text file compression, database records
3
Q
Run-length Encoding (RLE)
A
- Form of lossless compression which is used for
compressing text files and bitmap images. - Reduces file size of a sequence of elements which
has adjacent, identical elements (characters in text
file and pixels in bitmap images). - Repeating sequence of elements encoded in two
values: run count and run value.
4
Q
Lossy Compression
A
- Type of compression which irreversibly eliminates
unnecessary data - File accuracy/quality lower than that of lossless but
file size is lower (~10% of lossless). - E.g. Sound files (.mp3), .jpeg images
- Sound files compression (.mp3) utilizes Perceptual
Coding to remove certain parts of sound that are less
audible/discernible to human hearing