我在这个问题上花了一整天,但在堆栈溢出中没有看到答案!
我试过这个,但没有用:
>> pil_image = Image.frombytes('RGBA', wand_image.size, wand_image.make_blob(format='png'), 'raw') ValueError: not enough image data
我很欣赏每一个解决方案。
python type-conversion python-imaging-library wand
python ×1
python-imaging-library ×1
type-conversion ×1
wand ×1