The following example simply won\'t display the image:
from tkinter import * def main(root): img = PhotoImage(file="image.png") Label(image