Rendering HTML as an image

Anyone know of any good tools (server side) that will render HTML as an
image? I need this for an ad serving project and the client wants the
ads rendered as images.

I’m guessing there isn’t anything rubyish out there, but I could make a
call from ruby to java or C if needed.

thanks

RMagick should do the trick:
http://www.simplesystems.org/RMagick/doc/draw.html#text

Oh, sorry, missed that part (actually the most important one…)

Kitto wrote:

RMagick should do the trick:
RMagick 1.15.0: class Draw

Rmagick, while awesome, will not render HTML as an image.

Phil S. wrote:

Anyone know of any good tools (server side) that will render HTML as an
image? I need this for an ad serving project and the client wants the
ads rendered as images.

I’m guessing there isn’t anything rubyish out there, but I could make a
call from ruby to java or C if needed.

thanks

Here is the breakdown of the options for using website thumbnails:

The part you are looking at is #3. It’s a tricky procedure.