Can i resize images in python to given height and width,i use python 2.5, and i tried as this tutorial http://effbot.org/imagingbook/introduction.htm, and i installed PIL library for images,but when i try to write:
import Image
im = Image.open("test.jpg")
i got undefined variable from import:open
although import Image
doesn't give errors?
Thanks in advance.
import Image
should work. Is this a newer PIL version thing? I've used PIL for over a year and have only ever imported it withimport Image
and have never had a problem... – Unbreathed