how much bigger is base64 encoded data?
As well as a larger overall payload size, the size of the Base64 encoded image is approximately 30% larger than the original binary image. With gzip compression this bloat can be avoided if the alternative is raw binary images. However sizes will still be larger if the binary images are compressed.