3 ms·
Doesn’t PNG also support infinite non-image data? I thought things like the PICO-8 would share programs as .png images. Or is this a hack?
by Waterluvian 4y ago
Doesn’t PNG also support infinite non-image data? I thought things like the PICO-8 would share programs as .png images. Or is this a hack?
- debugnik 4y agoPICO-8 uses steganography, encoding the data into the 2 least significant bits of the ARGB channels, so 1 byte per pixel.
- yunruse 4y agoIt’s just stenography – each pixel stores a byte in the least significant 2 bits of ARGB. https://pico-8.fandom.com/wiki/P8PNGFileFormat https://pico-8.fandom.com/wiki/P8PNGFileFormat
- kevincox 4y agoYou can add your own chunks, and you can mark them as optional. It wasn't specified in the article but IIRC the casing of each letter in the chunk type has special meaning. So AAAA and aaaa have implicit meanings such as "required", "keep when processing" and I guess two other flags.