[英]Where does Python Imaging LIbrary Save Objects
I am using the Image.save method from PIL and I cannot find where the file is being placed. 我正在使用PIL中的Image.save方法,但是找不到文件放置的位置。 I have done a system search yet still no luck.
我已经进行了系统搜索,但仍然没有运气。
My code looks like this: print imageObj.save(fileName, "JPEG") 我的代码如下所示:print imageObj.save(fileName,“ JPEG”)
and gives the proper None response to say that it is working. 并给出正确的None响应以表示它正在运行。 Any idea where they go and how I can find them?
知道它们要去哪里以及如何找到它们吗?
Thanks! 谢谢!
设置文件名变量时,您应该选择保存图像的位置。
filename = "/Users/clifgray/Desktop/filename.jpeg"
imgObj.save(filename)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.