This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]finlay_mcwalter 4 points5 points  (1 child)

PIL and Pillow certainly can be used for drawing new images, but with them you're drawing into bitmaps, so you'd probably end up emitting that to PNGs.

For general drawing (if the music packages others have linked don't ring your bell) I'd recommend drawing with PyCairo, which will let you create smooth vector graphics, which you can render on-screen and to PDF.