How can I resize an image in tkinter?

0

I tried to do it this way but I could not search in the documentation and for what it seems there is .zoom () and .subsamble () I did not quite understand how it works. I could not deploy to my code

from tkinter import *


root = Tk()
root.geometry('1300x600+25+50')
root.title('Sistema Pizzaria')

frame = Frame(root, width=1300, height=600 )
frame.pack()
foto = PhotoImage(file='imagespizz.png', width=1300, height=600 )

label = Label(frame, image=foto,width=2300, height=2600)
label.pack()







root.mainloop()
    
asked by anonymous 30.07.2018 / 02:57

0 answers