Re:What is the space overhead of Base64 encoding?
by spurgu on Wednesday January 30, 2019 @06:58PM
(#19040933)
Heh, so gzipped png's are generally larger than non-gzipped. Samples are prob. heavily compressed though.
i included some text files, hex encoding, and other compression as well :)
raw file list: https://hastebin.com/vazonowuvo.txt
tsv (c/p to spreadsheet: https://hastebin.com/ewohafucem.tsv
---
(interesting) using bzip2, compression is better when the following file are encoded first with base64 or hex: bing.png googlelogo.png peppers_color.jpg
Useless takeaways:
- prefer base64 over hex when encoding already compressed images before further compression
- prefer hex over base64 when encoding plain text / low entropy data before further compression