set width and height of image in tkinter code example
Example: python tkinter get image size
img = Image.open("path\\to\\image.jpg")
tkimage = ImageTk.PhotoImage(img)
h = tkimage.height()
w = tkimage.width()
print(h)
print(w)
img = Image.open("path\\to\\image.jpg")
tkimage = ImageTk.PhotoImage(img)
h = tkimage.height()
w = tkimage.width()
print(h)
print(w)