Traceback (most recent call last):
File "D:\Обучение\CustomTkinter .py", line 7, in <module>
background_image = PhotoImage(file="angella.jpg")
File "C:\Users\selet\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 4103, in __init__
Image.__init__(self, 'photo', name, cnf, master, **kw)
File "C:\Users\selet\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 4048, in __init__
self.tk.call (('image', 'create', imgtype, name,) + options)
_tkinter.TclError: couldn't recognize data in image file "angella.jpg"
root = Tk()
root.geometry("400x400")
background_image = PhotoImage(file="angella.jpg")
background_label = Label(image=background_image)
background_label.place(x=0, y=0, relwidth=1, relheight=1)
root.mainloop()
В чем ошибка? ПЖ