【发布时间】:2012-05-18 06:36:13
【问题描述】:
如何使用 PIL 将 JPG 文件转换为 BMP?尝试使用 Image.open('ifile.jpg').save('ofile.bmp', 'BMP') 但我在尝试打开文件时得到一个“伪造的标题数据”。
尝试了Convert RGBA PNG to RGB with PIL中描述的复制/粘贴方法,但它也不起作用。
【问题讨论】:
标签: python image python-imaging-library nautilus gnome-shell