'problem with determining the size of a picture in Tkinter
I tried to put a picture into my Tkinter window,that worked,but the picture was waaaay to big,so I tried it with this:
img = PhotoImage(file=r"C:\\Users\\ulric\\Desktop\\PNG_transparency_demonstration_2.png")
label2 = Label(window, image=img,height = "200px",width="200px")
label2.grid(row=0, column=1)
But all that did was to crop the picture and that isn't what I wanted,I just want to make the picture smaller. Could someone please help me? That would be very nice...
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
