in reply to Rendering HTML / capturing pixels

Basics like tables and images? That's complex enough ;) You can do it (for the most part) using Wx and/or Tk. You'd be better off using OLE Automation if you can (if you're on win32).

WxBrowser - a wxPerl HTML Browser
Re: capture what's on the screen
http://search.cpan.org/author/NI-S/Tk-HTML-3.002/

Another idea that might work is to embed perl into mozilla (there was a recent node about it, something about XUL), and let mozilla render it, and then take a screenshot. ( probably won't work, at least not using XUL )


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Rendering HTML / capturing pixels
by tremere (Acolyte) on Feb 27, 2003 at 16:42 UTC

    There is a renderer that I have used...subset of gtk

    use Gtk::XmHTML;

    Should work...(tested under Debian)


    When cryptography is outlawed...I will still be using it.
      Thank you, I will definitely have a peek at that.

      SpaceAce

Re: Re: Rendering HTML / capturing pixels
by Anonymous Monk on Feb 27, 2003 at 19:40 UTC
    By "basics" I just meant that I won't be dealing with Javascript, CSS or any other extensions/additions/dynamic situations. I realize tables and images are not really "simple" :)

    Win32 is not out of the question but I prefer Linux for any kind of development, and especially for PERL. Unfortunately, for the last several versions of wxWindows and wxPerl I have not been able to successfully complete an installation. Even if I jostle things around and get the everything installed and operational, any wxPerl program I write tends to crash with a segfault, even "Hello, world". Perhaps it is time to try again.

    Thanks for the link and the ideas.

    SpaceAce