Computer Science - 1.3 Compression

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

Why is compression needed?

Data files can be very large, causing slower transmission, especially in uncompressed folders where each folder is copied individually.

2
New cards

Type of Compression

Lossy and Lossless

3
New cards

Lossy Compression Characteristics

  • Reduces Resolution

  • Data is Lost Permenantly

  • Discards Parts Of Data That Are Imperceptible

4
New cards

Lossless Compression Characteristics

  • No data is lost (file is identical to original)

  • Used when data integrity is critical

  • Uses replacement algorithms like RLE (Run Length Encoding)

5
New cards

RLE (Run Length Encoding)

Compresses adjacent identical pixels/characters. Encodes the run into two values: the character/pixel value and the number of repetitions.

Easy Definition: Repeated sequences of the same characters are replaced by a single copy of the character and a count of the number of characters.

6
New cards

General Method to Reduce Image File Sizes

  • Reduce resolution

  • Lower bit depth

  • Crop unnecessary parts

7
New cards

General Method to Reduce Video File Size

Reduce frame rate

8
New cards

General Method to Reduce Audio File Size

Lower sampling rate/resolution

9
New cards

Compression Conclusion

Improves storage and speeds up transmission. Lossless methods preserve accuracy; lossy methods prioritize size and speed.