Oct-26-2019, 04:05 PM
its getting garbage collected and it will not show
import tkinter as tk from PIL import Image, ImageTk w, h = (864, 576) root = tk.Tk() canvas = tk.Canvas(root, height=h, width=w) canvas.pack() bg = ImageTk.PhotoImage(Image.open("characterwindow01.jpg")) bg_l = tk.Label(root, image=bg) bg_l.place() root.mainloop()