img = PhotoImage(file='C:\Desktop\Python\Python39\qwer.png ')
label= Label(window, image=img,bg='yellow')
small_img=PhotoImage.subsample(img, x=2,y=2)
btn=Button(window, image=small_img)
txt= Text(window, width=25, height=7)
txt.image_create('1.0', image=small_img)