Hacker News new | ask | show | jobs
by kristopher 4634 days ago
My Attempt at Happy Mac [1]

Wants: 32pixels, a 1:1 pixel preview and favicon support!

[1] http://pix.pe/?C___A_4HH4HA_A_H4_H__H_4_4HA_A_H4_AH__4A_H___...

2 comments

Can you think of a way to fit 32x32 pixels reliably in under 128 base64 characters?

edit: hint: it's 768 bits, while 32x32=1024

Yes, use DEFLATE[1] before you B64. Also, it does not hurt to up-vote all of these useful comments!

[1] http://en.wikipedia.org/wiki/DEFLATE

I tried deflate, and I was surprised, it actually worked in about 66% of the cases I tried. The question remains what to do for those remaining 33%
1:1 preview please. I have no idea what half of these are.