# -*- coding: utf-8 -*- """ Created on Sat Jun 19 10:44:07 2021 @author: cl491 """ from PIL import Image, ImageTk import tkinter as tk wnd = tk.Tk() image = Image.open("1343.gif") photo = ImageTk.PhotoImage(image) print(image.size) cnv = tk.Canvas(wnd, width = image.size[0], height = image.size[1]) cnv.create_image(0,0, anchor = 'nw', image=photo) cnv.pack() wnd.mainloop()