Convert any image in JPEG or PNG format to Base64 encoded string. Base64 encoded image is used in emails as Multipurpose Internet Mail Extensions. All latest browser also support base64 string as image for display via HTML or CSS tags. Base64 String represent data in radix-64 is particularly popular on the WWW (World Wide Web).