Re:Show HN: I wrote a script to turn a webpage into bitmap H...
by proexploit on Friday December 31, 2010 @02:08PM
(#2056119)
Then turn it back into HTML with an experiment of mine: https://github.com/andershaig/img-con - It takes an image, writes a span with a background-color for each pixel. Turns a 100x100 image into a 7 MB HTML file.
[ Parent
| on HN ]
Re:Show HN: I wrote a script to turn a webpage into bitmap H...
by elliottkember on Friday December 31, 2010 @02:31PM
(#2056197)
Uh - that's exactly what this script does!
Re:Show HN: I wrote a script to turn a webpage into bitmap H...
by proexploit on Friday December 31, 2010 @03:03PM
(#2056296)
You're right and I should have paid more attention. I had thought you were generating just the image from a web page. Having actually worked on something similar, I can say I'm very very impressed with the load time.
Re:Show HN: I wrote a script to turn a webpage into bitmap H...
by elliottkember on Friday December 31, 2010 @04:41PM
(#2056533)
Probably mostly the Gzip - the code is very repetitive. The RLE helps too.