OSGeo / tilecache

Tilecache
35 stars 18 forks source link

import Image and ImageEnhance from PIL for pillow compatibility #3

Closed manelclos closed 9 years ago

winkey commented 9 years ago

will this break in an older environment?

perhaps a check. if it fails one way, try another

manelclos commented 9 years ago

Hi winkey, tested it:

virtualenv pil-test
. pil-test/bin/activate
pip install http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz
python
>>> from PIL import Image
>>> from PIL import ImageEnhance
>>> 

From effbot.org: The current stable version is 1.1.7, released in November 2009

winkey commented 9 years ago

thanks manelclos