base64 encoded string to image python