News for hackers. Stuff that matters.
Re:What is the space overhead of Base64 encoding? by tln on Wednesday January 30, 2019 @08:48PM (#19041521)
If you just compress the base64, the overhead is 5%. But if you embed within an HTML file, with a different set of character frequencies, that increases.

    $ cat index.html | gzip -9 | wc -c
    14116
    $ cat index.html bing.base64 | gzip -9 | wc -c
    15994
    $ expr 15994 - 14116
    1878
    $ cat bing.base64 | gzip -9 | wc -c
    1432
Re:What is the space overhead of Base64 encoding? by tinus_hn on Thursday January 31, 2019 @03:41AM (#19043387)
If you’re going to do an experiment like that you will probably want the file to be a whole lot bigger for more accurate results.