– How is it that the first Mario Bros. game was about 32kb, but a JPEG of the game is over 300kbs in 2023?

634 views

I’ve seen the meme/info-graphic that the original file for Mario Bros. was approx. 32kb, but a picture file would be 10x more.

I’ve googled it and looked, but it seems to have some nebulous answers. Could someone please ELI5?

In: 26

57 Answers

Anonymous 0 Comments

I know its a bit of a side answer but read about raster vs vector graphics as similar idea.

Raster is all the pixels individually.
Vector is a set of instructions on how to draw the image.

Draw blue from 1 to 100
Vs
Cell 1 blue
Cell 2 blue
Cell 3 blue
….
Cell 100 blue

In gaming there is also sprites, for example the boxes, or the background. Store it once, and then call it over and over.

A raster image stores the detail for every box every time. Using sprites says that is a box draw it for me.

Its about using code to describe and image instead of just storing all the image information.

If you want to see how crazy you can go look up 64k demos.

They are 64k files that render a video with music, visuals all generated by code.

You are viewing 1 out of 57 answers, click here to view all answers.