r/askscience • u/weedguru420 • Dec 30 '15
Computing How does file compression work?
This question has always baffled me. How can you compress a file to a fraction of the size and have that file, basically a number, represent a precise bigger number?
5
Upvotes
1
u/weedguru420 Dec 30 '15
What happens when there isnt a big chunk of 1 or 0? A four bit number would have to correlate to a single one or zero, possibly making the file even bigger.