from tkinter import *
window=Tk()
window.geometry("1000x1000")
window.title("My image")
canvas=Canvas(window,width=1000, height=1000)
canvas.pack()
my_image=PhotoImage(file="C:\\Users\\HP\\PycharmProjects\\stars.png")
canvas.create_image(0,0,anchor=NW,image=my_image)
button=Button(window, text="Register", fg="Red", bg="Green", width="10", font=("Times new roman",15,"bold"))
button.place(x=50,y=250)
window.mainloop()**
当我打开star文件时,它会显示图片中给出的错误,但是当我打开其他图片时,它会打开为什么会出现错误以及如何打开它