3 ms·
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
by TheZenPsycho 13y ago
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
- kristopher 13y agoYes, 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 http://en.wikipedia.org/wiki/DEFLATE
- TheZenPsycho 13y agoI 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%