3 ms·
It might be worth considering encoding the URL data to something to compress it a little bit more, perhaps base 64 or something.
by beefsack 13y ago
It might be worth considering encoding the URL data to something to compress it a little bit more, perhaps base 64 or something.
- TheZenPsycho 13y agoit is base64 already. edit: in an older version I tried out compression. I quote from the pix.pe page: It turns out generic compression of any kind is very rarely helpful below a certain message size. The size of the added overhead overtakes the characters saved. Only about 10% of pictures were RLE compressible, and even then, savings were tiny.
- agf 13y agoI think it would benefit from simple arithmetic compression / huffman coding if the number of colors used is small so the table can be small.
- TheZenPsycho 13y agoYou'd be surprised how ineffective such techniques are with such a small message size.
- cataflam 13y agoBase64 doesn't compress, it's a way of encoding binary data with just ASCII characters. It takes roughly 1/3 more space than the original data.