Gem suggestions for text to bitmap

There are several gems that look I might be able to use, but I’m
wondering if
people have any suggestions. I’m looking for a gem that will take a text
string
and convert it to a GIF/PNG/JPG. That’s all I need, nothing fancy. Any
suggestions on gems that you may have used.

Thanks in advance,
Wayne

On Jan 15, 2013, at 12:13 , Wayne B. [email protected] wrote:

There are several gems that look I might be able to use, but I’m wondering if
people have any suggestions. I’m looking for a gem that will take a text string
and convert it to a GIF/PNG/JPG. That’s all I need, nothing fancy. Any
suggestions on gems that you may have used.

You don’t care about font, font-size, kerning, line spacing, or anything
else “fancy”… right?

Since that’s all true, my png gem has png/font that extends the Canvas
with #annotate.

Otherwise, you probably want something fancy.

You should try the GD Graphics Library
http://rubygems.org/gems/gd2

Best regards:

Z.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs