Hi i have a problem.

def showimage(req):
        from PIL import Image
        im=Image.open("c:\image-2.jpg")
        im.thumbnail((800,600), Image.ANTIALIAS)
        req.sendfile(im)



give me some error.
How can i return this image witdhout save ?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to