base64 encodes an image file
encode_image(imagePath)
imagePath
character, path to the image
get the image back as encoded file