import tkinter as tk from PIL import Image, ImageTk from tkinter.filedialog import askopenfilename, asksaveasfilename def get(name): if name in imagelist: if imag