Last modified on 14 October 2014, at 09:32

Python Imaging Library/File IO

File operations in PIL are very simple, and reflect normal Python methods.

openEdit

import Image
 
img = Image.open(filepath)

loadEdit

showEdit

Displays a copy of the specified image in a window.

saveEdit