Script driving konqueror to generate web images
Moritz Moeller-Herrmann
mmh at gmx.net
Mon Feb 3 23:53:23 GMT 2003
Jesper Juhl wrote:
>
> Hi,
>
> Is it possible to somehow drive Konqueror with a script to a website and
> then save the rendered page as an image?
> Here's a more detailed description of what I want to do :
>
> I want to create a small website that will let people enter the URL of
> some website. A php/perl/bash etc. script (or C/C++ program) should then
> use konqueror (or maybe just khtml) to fetch the page, grab the rendered
> page as
> an image, save the image (possibly manipulate the image with imagemagick
> or similar) and then add that image to an archive of webpage screenshots.
>
> To control how the page is rendered I will ofcourse also need to be able
> to tell Konqueror how big the display area is and various other parameters
> that affect the rendering, that would be set when Konqueror is launchd as
> a normal app.
>
> Can this be done? and if so, can someone guide me in the right direction
> of where I can find some documentation on how to do this?
Check out kwebdesktop, it already does what you want, I guess.
--
Moritz Moeller-Herrmann mmh at gmx.net wiss. Mitarbeiter, IMGB
La loi, dans un grand souci d'égalité, interdit aux riches comme aux
pauvres de coucher sous les ponts, de mendier dans les rues et de voler
du pain.
(ANATOLE FRANCE)
More information about the kfm-devel
mailing list