ImageTk Module — Pillow (PIL) examples
hhsprings.bitbucket.io › python › PILNote. All source images in this document are derived from https://www.pexels.com (CC0 License). try: import tkinter # py3 except ImportError: import Tkinter as tkinter # py2 from PIL import Image, ImageTk # root = tkinter.Tk() imname = "data/srcimg14.jpg" # PIL Images im1 = Image.open(imname).convert("1") size = (im1.width // 4, im1.height // 4 ...