Search code examples
pythonrubygraphicspng

Create static graphics files (png, gif, jpg) using Ruby or Python


I'd like to create a graphic image on the fly based on user input, and then present that image as a PNG file (or jpg or gif if necessary, but PNG is preferred).

This is actually for an astrology application; what I'd like to do is generate the chart in PNG for display.

Python or Ruby is fine; in fact, the library available may determine the language I use.

Update

Here's an example image:
Example horoscope graphic chart


Solution

  • I found Gruff easy to use when I was in your shoes. Shameless blog plug.