摘要: 1. 图片转成base64格式 png_path = '' with open(png_path, 'rb') as f: base64_data = "data:image/png;base64,{}".format(str(base64.b64encode(f.read()).decode('u 阅读全文
posted @ 2022-08-25 12:31 是阿杰呀 阅读(1253) 评论(0) 推荐(0)