This JPEG is also a webpage
Report a link problem
Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
Top comments
I abused this concept to compress demo code in PNG files, with great success. http://demoseen.com/blog/2011-08-31_Superpacking_JS_Demos.ht... This is, at present, the most efficient way to pack demos on the web; a few characters of uncompressed bootstrap code, then the rest is deflated.
If you think that's cool, look at Daeken's Magister: http://demoseen.com/windowpane/magister.png.html A PNG that's interpreted as HTML and loads itself as compressed JavaScript!
The last week i found this [1] thread by Notch. He is working in an entry to js13k [2] (a game jam about html5 games restricted to 13 KBs). He bundled the whole source code and binary data used in the game/tech demo to use the in browser image decompression, avoiding to write a custom (de)compression code, saving KBs this way. Then he just eval() the needed parts for each thing. I found this extremely clever, game jam limitations, specially…
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
HN stats
- Breakout years
- 3
- Total points
- 1598
- Total comments
- 423
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2012-07-06 | A file that's both an acceptable HTML page and a JPEG (view source on it)First breakout | mcfunley | 536 | 128 |
| 2016-08-06 | This JPEG is also an HTML page | siddg | 6 | 0 |
| 2016-08-10 | This JPEG is also a webpageBest thread | cocoflunchy | 833 | 226 |
| 2018-09-10 | A file that’s both an acceptable HTML page and a JPEG (2012)Latest 20+ point return | ScottWRobinson | 223 | 69 |