Please attach image file
** Edited **
After thinking about this a bit, I think you just have to anchor your path:
** Edited **
After thinking about this a bit, I think you just have to anchor your path:
#!/usr/local/bin/python3 import tkinter from PIL import Image, ImageTk import os # Anchor path os.chdir(os.path.abspath(os.path.dirname(__file__))) img = Image.open('images/img.jpg') root = tkinter.Tk() canvas = tkinter.Canvas(root, width=img.width, height=img.height, background='blue', borderwidth=0, ) canvas.pack() tkimg = ImageTk.PhotoImage(img) imagesprite = canvas.create_image(0, 0, anchor=tkinter.NW, image=tkimg) root.mainloop()