Image and ImageTk() functions of PIL module code example
Example: what is imageTk in pil python
The ImageTk module contains support to create
and modify Tkinter BitmapImage and PhotoImage objects
from PIL images. ... This can be used everywhere Tkinter expects an image object. The given image must have mode “1”.