Compressing base64 data uri images
Maybe string compression is the solution for you. This converts the data to byte arrays. There are multiple implementations and algorithms around, for instance LZMA-JS A standalone JavaScript implementation of the Lempel-Ziv-Markov chain (LZMA) compression algorithm. my_lzma = new LZMA(“./lzma_worker.js”); my_lzma.compress(“This is my compression test.”, 1, function on_compress_complete(result) { console.log(“Compressed: ” + result); my_lzma.decompress(result, function …