Answers for "AttributeError: module 'PIL.ImageTk' has no attribute 'Photoimage'"

0

AttributeError: module 'PIL.ImageTk' has no attribute 'Photoimage'

folder1 = os.path.dirname(os.path.abspath(__file__))
file1 = os.path.join(folder1, 'amadeuseng.png')
load = Image.open(file1)
imag = ImageTk.Photoimage(load)
Posted by: Guest on June-21-2021

Code answers related to "AttributeError: module 'PIL.ImageTk' has no attribute 'Photoimage'"

Browse Popular Code Answers by Language