ImageTk.Photoimage not working as expected

Answer: Thanks to acw1668 I got what the problem was. error was in:

img = ImageTk.PhotoImage(open(root.filename))

it is supposed to be: Either ImageTk.PhotoImage(file=root.filename) or ImageTk.PhotoImage(

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top