Re: [web2py] Using Python Imaging Library(PIL)

2011-11-20 Thread Kenneth Lundström
I use it to create a thumbnail: def makeThumbnail(dbtable,ImageID,size=(150,150)): try: thisImage=db(dbtable.id==ImageID).select()[0] import os, uuid from PIL import Image except: return if thisImage.image == "": return im=Image.open(request.folder

[web2py] Using Python Imaging Library(PIL)

2011-11-20 Thread Web2Py Freak
Dear All, How can i use the python PIL in my project ?