(Oct-29-2020, 05:57 AM)buran Wrote: https://effbot.org/tkinterbook/photoimage.htm
I was testing my code with jpg image, which is not supported by tkinter. I rewrite my code dozen times because of the "_tkinter.TclError: couldn't recognize image data". the code is ok now