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.
Write a method
Write a method say convert and write a set of lines into it.
Now you can see there is an image at specifiled location.
Note : You need to pass base64 encoded image string into method with the MIMETYPE, This method will break otherwise to