| |
| ▲ | senfiaj 2 days ago | parent [-] | | Sorry. My bad. Looks like the size is also very sensitive to the method of compression and software as well (regardless of being PNG or WEBP). I found another PNG picture here https://www.freecodecamp.org/news/where-do-all-the-bytes-com... it is 64KiB. When you stretch the image, it's also likely to add kilobytes. I guess I need to update the image. But anyways, I think it's still very demonstrative when an entire game size is smaller than its picture. Also consider that even your tiny PNG example (3.37KiB) still cannot fit into the the RAM / VRAM of a NES console which shows the contrast between these eras in regards of amounts of memory. | | |
| ▲ | masfuerte 2 days ago | parent [-] | | > I found another PNG picture here That image has a similar problem to yours. It has been scaled up using some kind of interpolation which introduces a load of extra colours to smooth the edges. This is not a great fit for PNG, which is why it is 64KB. The article claims that it is only 5.9KB. I guess it was that small originally and it's been mangled by the publishing process. | | |
| ▲ | senfiaj 2 days ago | parent [-] | | I think a more realistic comparison is a BMP image (16 or 256 color) because the game didn't compress the image the way PNG or WebP does. When I converted that tiny ~3KiB image to 16 color BMP the size was 28.1KiB, for 256 color it was 57KiB. But some colors were lost. Anyways I don't think we can have 100% apple to apple comparison, because the game used a different compression and rendering technique. Also consider the actual amount of RAM / VRAM the images are occupying. In RAM / VRAM they are probably in a decompressed form which is much more memory. | | |
| ▲ | masfuerte a day ago | parent [-] | | I agree that there's no perfect comparison. I just think that whatever image format you use for the comparison, you should be storing an original picture, not one that has been stretched or otherwise modified. FWIW, if you convert the 3KB image to 16 colours in GIMP (Image | Mode | Indexed... and choose "Generate Optimum Palette") it looks exactly the same. I'm pretty sure there are only 16 colours in the image. The resulting PNG is 1,991 bytes. |
|
|
|
|