I\'m making a web app using Flask, and I want to resize the images that are uploaded. I\'m using PIL to do this, but an error is thrown.
The process to do it is like thi
The most important thing to remember is not to pass the size as object but as a tuple in resize function new_image = image.resize((img_width,img_size))
new_image = image.resize((img_width,img_size))
and NOT AS
new_image = image.resize(img_width,img_size)