clifgray
clifgray

Reputation: 4419

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. I have done a system search yet still no luck.

My code looks like this: print imageObj.save(fileName, "JPEG")

and gives the proper None response to say that it is working. Any idea where they go and how I can find them?

Thanks!

Upvotes: 0

Views: 1995

Answers (1)

zach
zach

Reputation: 41

You should pick a location to save the image when setting the filename variable.
filename = "/Users/clifgray/Desktop/filename.jpeg"
imgObj.save(filename)

Upvotes: 1

Related Questions