摘要: import io img = Image.open(img_path, mode='r') imgByteArr = io.BytesIO() img.save(imgByteArr, format='JPEG') imgByteArr = imgByteArr.getvalue() 阅读全文
posted @ 2023-01-04 22:13 三省吾身~ 阅读(330) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/181525305 https://www.jb51.net/article/78855.htm https://blog.csdn.net/xujin0/article/details/100524073 阅读全文
posted @ 2023-01-04 21:36 三省吾身~ 阅读(8) 评论(0) 推荐(0) 编辑