On Wed, May 27, 2009 at 5:56 PM, Keith Lofstrom <[email protected]> wrote:

> Are there any open source tools out there that can render an html
> page to a png (or other) image, automatically?  Yes, I know you
> can display the page on a screen, then screen capture the image,
> but I am looking for something I can automate, perhaps as a script
> that spiders a directory.
>
> I'm working on a navigable web presentation tool, makeshow.
>     http://www.server-sky.com/makeshow
> It builds a series of PNG images into a slide show (a PNG image
> is very hard to mis-render - what you see is what you ALWAYS
> get).  There are tools, such as Eric Wilhelm's Text::Slidez,
> which turn a text script into html pages, and I would like to
> take the outputs of such tools and make PNG images.
>
> Any suggestions?


Did you try the obvious: google html2png ?

I turned up 'html2jpg', which ostensibly converts html to several
image formats.  The description says it requires Opera, but offers
a hint about where to modify  the code (Perl !) to use something else.

The author was coming from the same place you are: he needed the tool
but didn't find anything, so rolled his own.  Admittedly he did it with
Netscape in mind, but it might fly.  I can try to play with it and see
what happens.

There are several other hits for 'html2png', but the ones I skimmed
seem to be various Rube Goldberg contraptions.

- tony
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to