Re: html to jpeg conversion.

From: Date: Sat, 18 Aug 2007 16:23:31 +0000
Subject: Re: html to jpeg conversion.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-260999@lists.php.net to get a copy of this message
Bindu Walia wrote:
Hi, I am looking for a way to convert a html page to a jpeg image. The html page is a file with images and text. Could someone please suggest a method or point me to any existing work on this?
Keep in mind that any server-side application that can create screenshots will require its own HTML/CSS engine in order to interpret the markup. Gecko would seem to be the way to go but i don't know of any PHP scripts that interface with it. I believe there's been some work done with Java. Or, if you can install KDE on the server (really not a great idea) you could use kwebdesktop, which uses Konqueror's layout engine to create PNGs (a better choice for this than JPEG, IMO). brian

« previous php.general (#260999) next »