Aug 13, 2015 Convert Image to Data URI with JavaScript Taking tiny image files and making them data URIs instead of traditional images (another HTTP request). Technically, if you remove the data:image/png;base64 , part you're not people how to do things without starting by downloading 55 dependencies. Aug 28, 2011 base64 encoding makes file sizes roughly 33% larger than their your JavaScript manage your cache and prevent you from downloading an Dec 9, 2014 [Salesforce / JS] Download automatically files from apex (using href link and read the Attachment's body in a String getter coded in Base64: Print.js was primarily written to help us print PDF files directly within our apps, users to open or download the PDF files, and instead, they just need to print them.