Zmiana obrazu PIL nie działa
from PIL import Image
#...
img = img.resize((150, newheight), Image.ANTIALIAS)
T3CH
from PIL import Image
#...
img = img.resize((150, newheight), Image.ANTIALIAS)