pillow resize is not working code example
Example: pil image resize not working
from PIL import Image
#...
img = img.resize((150, newheight), Image.ANTIALIAS)
from PIL import Image
#...
img = img.resize((150, newheight), Image.ANTIALIAS)