Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Turning HTML into an Image

by ejf (Hermit)
on May 12, 2002 at 00:58 UTC ( #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 ;)


Comment on Re: Turning HTML into an Image

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-04-20 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (486 votes), past polls