imagelist=[]
with open("imagelink.txt") as url:
for url2 in url:
if url2.strip():
raw_data= urllib.request.urlopen(url2.strip()).read()
im = ImageTk.PhotoImage(data=raw_data)
result = maintext.image_create(0.0, image=im)
imagelist.append(im)
So this is my code i am opening a image URL and displaying the image in a text box,so how do I resize the image from the URL I tried using resize function but it says photo image doesn't have resize function.So how do I resize the URL image?