Image & Movie Compression W5 Flashcards

(9 cards)

1
Q

Why are images and movies good candidates for compression?

A

They contain lots of redundancy; neighboring pixels or frames are often similar.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is run-length encoding (RLE)?

A

A method that stores the number of identical pixels in a run instead of each pixel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is lossy compression?

A

Compression that removes less important data (e.g., fine image detail) to save space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does JPEG compression work?

A

Uses a mix of lossy techniques (like Fourier transforms to remove detail) and lossless methods (like RLE).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the difference between BMP, JPG, and PNG formats?

A

BMP: Uncompressed

JPG: Lossy and lossless compression

PNG: Lossless compression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why can lossy compression sometimes increase file size?

A

For simple images, the overhead of compression algorithms may outweigh savings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Can you recover the original BMP image from a PNG file?

A

Yes, because PNG is lossless.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Can you recover the original BMP from a JPG file?

A

No, because JPG is lossy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why is movie compression especially effective?

A

Because each frame is similar to the next, making differences predictable and compressible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly