snostorm snostorm - 1 month ago 24
Python Question

Drawing an anti-aliased line with thePython Imaging Library

I'm drawing a bunch of lines with the Python Imaging Library's ImageDraw.line(), but they look horrid since I can't find a way to anti-alias them. How can I anti-alias lines in PIL? If PIL can't do it, is there another Python image manipulation library that can?

Answer

aggdraw provides nicer drawing than PIL.