-
I am trying to compile khtml2png on Ubuntu server 9.10 Karmic Koala, as I am migrating my webserver from Gentoo to Ubuntu.
Please refer to my notes on my wiki: [http://wirespeed.xs4all.nl/mediawiki/index.php/Thumbnail_a_website#On_Ubuntu_Server][1]
While running ./configure I ran into the following error message:
- Could not find X11
I am trying to find out which exact package I...
2009-11-09 22:28:50 UTC by jphendrix
-
Is /tmp writable by the user you run khtml2png under?.
2009-11-05 13:17:37 UTC by hhabermann
-
I execute:
`./khtml2png2 http://www.google.com /tmp/google.png`
I see khtml2png open, google loads, the window gets resized then closes, but the image never appears at /tmp/google.png.
2009-11-05 00:21:13 UTC by hyp0r
-
khtml2png requires a X server (because it relies on the kdelibs). So, you must be sure a X server is running and add the DISPLAY environment variable when invoking khtml2png.
Too enable khtml2png on a server, I strongly recommend khtmld (http://wiki.goatpr0n.de/projects/khtmld). The home page of this projects contains configuration example and some hints.
2009-08-21 12:45:44 UTC by fruneau_x
-
Hi,
khtml2png2 works fine in the command line, but it could not be executed in php. my php script:
<?php
$command = '/usr/local/bin/khtml2png2 --display :0.0 http://google.com /tmp/google.png';
shell_exec($command);
?>
Any ideas? Any settings need to be done to enable php on a server level?
Thanks heaps.
2009-08-21 02:20:40 UTC by resi1
-
Hello,
khtml2png2 was working fine on my CentOS5.4 until now. Now, it crash every time with tis error:
khtml2png2 http://www.google.com /tmp/foo.png
terminate called after throwing an instance of 'DOM::DOMException'
KCrash: Application 'khtml2png2' crashing...
Any idea how to recover?
Thank you
Julien.
2009-05-19 05:27:09 UTC by juliensobrier
-
You have to write small script to automatize telnet interaction.
I recommend using expect or python+pyexpect to do that.
2009-03-10 09:05:17 UTC by darkk
-
I need create more than 10000 website thumbnails ? how ?.
2009-03-10 08:58:12 UTC by dankyz
-
Have you read comments in the header of the file?...
2009-03-10 08:52:54 UTC by darkk
-
so ?
how to use your js to save screenshot in linux system?
can you show me details?.
2009-03-10 08:40:34 UTC by dankyz