摘要:
# ##把图片花花.png 转换成字符串base64格式,放到html中发送 # import base64 # # png = open('花花.png','rb') # res = png.read() # s = base64.b64encode(res) # png.close() # pi 阅读全文
posted @ 2022-06-15 09:38
猴年马月
阅读(692)
评论(0)
推荐(1)
摘要:
##图片转换格式 # from email.mime import image # from PIL import Image # def zhuan(): # im=Image.open("花花.png") # im=im.convert('RGB') # im.save("花花花.jpg",qu 阅读全文
posted @ 2022-06-15 08:42
猴年马月
阅读(188)
评论(0)
推荐(0)

浙公网安备 33010602011771号