Convert image to Base64 and vice versa

Try this