views:

238

answers:

3

I'm working in Rails and I'm looking for a library/gem/plugin to generate a graphic from text. Google Maps doesn't allow you to overlay text, only graphics so I'm looking for a back door to overlay text. Suggestions?

+1  A: 

You need something like RMagick, though that particular library has been known to leak memory.

Ben Alpert
+5  A: 

Take a look at RMagick.

To draw text using RMagick, you need to use one the text or annotate methods.

Can Berk Güder
+1  A: 

libgd can do this, and has bindings for many different languages, including Ruby

Alnitak