The b64encode() function returns the encoded string. Example of converting Image to base64 in Python. import base64 with open("grayimage.png" ...
確定! 回上一頁