会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Q
博客园
首页
新随笔
联系
管理
2021年11月26日
Python - 二进制图片数据, 转换成图片到本地
摘要: __init__.py import io import os from PIL.Image import Image content = '二进制数据' byte_stream = io.BytesIO(content) # 请求数据转化字节流 roiImg = Image.open(byte_s
阅读全文
posted @ 2021-11-26 18:20 _Q
阅读(6103)
评论(0)
推荐(0)
公告