Convert the image to a Data URI