摘要:
# ##把图片花花.png 转换成字符串base64格式,放到html中发送 # import base64 # # png = open('花花.png','rb') # res = png.read() # s = base64.b64encode(res) # png.close() # pi 阅读全文
摘要:
##图片转换格式 # from email.mime import image # from PIL import Image # def zhuan(): # im=Image.open("花花.png") # im=im.convert('RGB') # im.save("花花花.jpg",qu 阅读全文