摘要:
with open('Test.bmp', 'rb') as f: s = f.read(30) #利用struct提取信息 struct.unpack('<ccIIIIIHH',s) #报错 #struct.error: unpack requires a buffer of 26 bytes 原 阅读全文
posted @ 2020-10-09 20:06
ShineLe
阅读(10156)
评论(0)
推荐(2)
摘要:
随便找一张图片,右键选择打开方式为画图,再在画图中保存为bmp即可 如果要保存为png文件,也可以这样 阅读全文
posted @ 2020-10-09 19:42
ShineLe
阅读(1063)
评论(0)
推荐(0)

浙公网安备 33010602011771号