Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Turning HTML into an Image

by ejf (Hermit)
on May 12, 2002 at 00:58 UTC ( [id://165967]=note: print w/replies, xml ) Need Help??


in reply to Turning HTML into an Image

If you have the possibility of running parts of KDE on the machine that is going to generate the images, you could use the kwebdesktop program to use the khtml-Engine (the same as in Konqueror, i.e. a /very/ good one ;) to get you a rendered image of your site ...
It is intended for use as a desktop background generator, but it should work for your case just as well :

kankoku:~$ kwebdesktop --help
Usage: kwebdesktop Qt-options KDE-options width height file URL 
(...)
Arguments:
  width
    Width of the image to create
  height
    Height of the image to create
  file
    Filename where to dump the output in png format.
  URL 
    URL to open 
It is part of kdebase. Hope this helps; it's not strictly perl ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://165967]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-26 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found