What is Base64 Image Decoding and Encoding?
Base64 encoding is a term for encoding similar to binary-to-text encoding schemes that encode binary string into ASCII string by translating it into base64 representation. The term Base64 originates from a specific MIME content transfer encoding.
Base64 decoding is just a process of getting the original data back from base64 encoding.
Base64 image encoding is particularly used in communication where there is need to encode the data which needs to be stored and transferred over media which only supports textual strings. Another fiels where base64 encoding is used is web. Having lots of images on webpage take a hit on load speed of website considerably. Converting images to base64 format reduces the number of http requests and in turn help improve the pagespeed of web-page.