1.3 File Compression Flashcards
What is lossless file compression?
Original data can be reconstructed upon decompression, important where loss of data is disastrous - spreadsheets, research)
What is lossy file compression?
File compression algorithm eliminates unnecessary data (JPEG). Minimal loss in detail.
What is MPEG-3?
Uses technology known as audio compression to convert music into MP3. Reduce original file size by 90%
What is perceptual music shaping?
Removes certain sounds in algorithms like MP3. Removes frequencies outside of human range. If two sounds are played at the same time, softer one is removed.
What is Run Length Encoding? (RLE)
Used to compress a number of different file formats.
Lossless compression, reduces size of a string of adjacent, identical dara.
First two values represent number of identical data items, second value represents code of data item.
How to reduce size of movie files?
- reduce sampling rate
- reduce sampling resolution
- reduce frame rate
How to reduce size of image files?
- crop image
- decrease colour depth
- reduce image resolution