From bd433d47748a2075af94feb5fb34fac88adcf655 Mon Sep 17 00:00:00 2001 From: Robohash <401330+e1ven@users.noreply.github.com> Date: Fri, 8 Jul 2011 18:45:01 +0000 Subject: [PATCH] filter better --- webfront.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webfront.py b/webfront.py index 3183e7a..f374ff8 100755 --- a/webfront.py +++ b/webfront.py @@ -305,7 +305,7 @@ class ImgHandler(tornado.web.RequestHandler): bg.paste(robohash,(0,0),robohash) robohash = bg - robohash = robohash.resize((sizex,sizey)) + robohash = robohash.resize((sizex,sizey),Image.ANTIALIAS) robohash.save(self,format=ext)