【发布时间】:2011-09-21 08:07:31
【问题描述】:
我有一个脚本可以创建图像并对其进行裁剪。问题是我调用crop()方法后它没有保存在磁盘上
crop = image.crop(x_offset, Y_offset, width, height).load()
return crop.save(image_path, format)
【问题讨论】:
-
会发生什么?你有例外吗?
image_path和format是什么?
标签: python python-imaging-library crop