The ROM is exactly 40 kiB or 40 960 bytes. The NES outputs video at a resolution of 256×240=61 440 pixels. The game never switches palettes mid-frame and thus the highest possible number of colors (of the 64 available ones, of which 55 are distinct) in any screenshot is: 4 sprite palettes × 3 non-transparent colors per palette = 12 colors among all sprites; plus 4 background palettes × 3 selectable colors per palette + 1 selectable color shared between all palettes = 13 colors in the background; or 25 colors in total.
Even one of the most basic lossless image formats, GIF, can use an n-bit palette of 2ⁿ-1 arbitrary colors plus transparent. For n=5, we can store up to 31 colors at 5 bits per pixel, or 307 200 bits total, which is 38 400 bytes. The palette entries, size etc. will take about 200 bytes at most, and LZW compression built into the format (or even better, whatever PNG uses) can be used to reduce the file size further (significanly because there are huge areas filled with solix color or patterns).
You’re absolutely correct, but you and I both know that normal people are going to only manage to create a dithered JPG that’s almost half a MB in size.
I laughed because last week, I had to teach the marketing team why you shouldn’t upload your iPhone photos to the website. Each page has a nice 4meg high res photo.
Popular myth but untrue.
The ROM is exactly 40 kiB or 40 960 bytes. The NES outputs video at a resolution of 256×240=61 440 pixels. The game never switches palettes mid-frame and thus the highest possible number of colors (of the 64 available ones, of which 55 are distinct) in any screenshot is: 4 sprite palettes × 3 non-transparent colors per palette = 12 colors among all sprites; plus 4 background palettes × 3 selectable colors per palette + 1 selectable color shared between all palettes = 13 colors in the background; or 25 colors in total.
Even one of the most basic lossless image formats, GIF, can use an n-bit palette of 2ⁿ-1 arbitrary colors plus transparent. For n=5, we can store up to 31 colors at 5 bits per pixel, or 307 200 bits total, which is 38 400 bytes. The palette entries, size etc. will take about 200 bytes at most, and LZW compression built into the format (or even better, whatever PNG uses) can be used to reduce the file size further (significanly because there are huge areas filled with solix color or patterns).
You’re absolutely correct, but you and I both know that normal people are going to only manage to create a dithered JPG that’s almost half a MB in size.
I laughed because last week, I had to teach the marketing team why you shouldn’t upload your iPhone photos to the website. Each page has a nice 4meg high res photo.
Bet they all had location metadata, too.
Oh my, I did a scan and yes… We have location meta data on our images.
Oh boy.
I read this in Scott Bakula’s voice.
And it’s probably in hvec format too, lol
*heic
How? Why? By first saving it as a fixed-palette GIF?