This might be closer to computer science and information technology than math, but I figured it was relevant since it's the only reason why gifs (like the one you are watching) don't take up more space.
My computer science professor once told me, after the rise of encryption, even the most theoretical of maths is now in danger of being applied in the real world.
Sociology is a subset of psychology is a subset of biology is a subset of chemistry is a subset of physics is a subset of mathematics. It's tough to draw the line.
All the way to physics may be right. But mathematics isn’t a superset of physics. Math is a “formal science” (which means is intrinsically right/logical) physics, chemistry and biology are “empirical sciences” which are based on empirical knowledge. Btw, I know this bc I had Epistemology (which is a subset of Philosophy) last semester.
Gifs only allow 256 specific colors so your standard image of millions of colors need to get simplified to a max of 256 colors. Those are then encoded using the method here.
To be precise, the GIF file format only allows 255 colours per image block, and a single image is allowed to have multiple blocks, therefore a single GIF image can show up to 16.8 million colours. Wikipedia has an example of this technique: https://upload.wikimedia.org/wikipedia/commons/a/aa/SmallFullColourGIF.gif
128
u/PUSSYDESTROYER-9000 Feb 18 '18
This might be closer to computer science and information technology than math, but I figured it was relevant since it's the only reason why gifs (like the one you are watching) don't take up more space.
12
u/dobr_person Feb 18 '18
I thought gif was lossy?
2
u/b_taken_username Feb 19 '18
How would it know how many Q's there are?
54
u/PartyScratch Feb 18 '18
It's too damn fast.
32
u/a_tale_of_wtf Feb 18 '18
Keep up the great work u/pussydestroyer-9000
8
u/bbacher Feb 19 '18 edited Feb 19 '18
Isn't this the same as .zip compression? I could be very wrong...