Is there an antialiasing method for Python PIL?
问题 For lines and ellipses in PIL, the images are rough. I found antialiasing only in resize and thumbnail. Is there any way to do antialiasing when drawing a line or ellipse? 回答1: The only way to do it natively is with supersampling. Render your image at a multiple of the size you require, then resize it with filter=Image.ANTIALIAS . 回答2: aggdraw (http://effbot.org/zone/aggdraw-index.htm) may be something you're interested in. The aggdraw module implements the basic WCK 2D Drawing Interface on