how to set height and width 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)