converted image to base64