Prior art (rather similar, but instead of being json, it's a JPEG): https://news.ycombinator.com/item?id=12262470
tldr: the html is stuffed in the exif data!
tldr: the html is stuffed in the exif data!
[1] https://gist.github.com/gasman/2560551
[2] https://github.com/codegolf/zpng
[3] https://xem.github.io/terser-online/ (If you pick the packing method "Zopfli (DEFLATE)", open the zopfli options and change the format to "zpng", you can write directly to the "Minified (Terser)" input to download the optimized PNG. Yes I wrote that part of code and that required way too much algorithm: https://github.com/xem/terser-online/blob/5cc33125/compress....)