From 2a1bcd1f5cfe11dadd172d3132787e831f7d5577 Mon Sep 17 00:00:00 2001 From: Colin Davis 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)