base64-encoded | Ram Laxman Yadav


How to write A base64 encoded image with mimetype in Rails

Hello There, We often need to convert a base64 encoded image to actual image file. It generally happens When we work with apis. Here is an example how can we make a image from base64 encoded string with the actual MIMETYPE.