Image & Movie Compression W5 Flashcards
(9 cards)
Why are images and movies good candidates for compression?
They contain lots of redundancy; neighboring pixels or frames are often similar.
What is run-length encoding (RLE)?
A method that stores the number of identical pixels in a run instead of each pixel.
What is lossy compression?
Compression that removes less important data (e.g., fine image detail) to save space.
How does JPEG compression work?
Uses a mix of lossy techniques (like Fourier transforms to remove detail) and lossless methods (like RLE).
What is the difference between BMP, JPG, and PNG formats?
BMP: Uncompressed
JPG: Lossy and lossless compression
PNG: Lossless compression
Why can lossy compression sometimes increase file size?
For simple images, the overhead of compression algorithms may outweigh savings.
Can you recover the original BMP image from a PNG file?
Yes, because PNG is lossless.
Can you recover the original BMP from a JPG file?
No, because JPG is lossy.
Why is movie compression especially effective?
Because each frame is similar to the next, making differences predictable and compressible.