Re: Re: Create image from HTML

From: Date: Fri, 09 Jan 2009 18:16:18 +0000
Subject: Re: Re: Create image from HTML
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-285881@lists.php.net to get a copy of this message
On Fri, Jan 9, 2009 at 11:51, Nathan Rixham <nrixham@gmail.com> wrote: > > only way would be if you had php running on a server with a GUI, a program > for grabbing screenshots, and some form of API to control from php (and > recieve output) That's not entirely correct (though it's the most widely-accepted solution, I think). I had built an extension some time ago, but it needed a lot of work, and I just wound up trashing it. You can use xvfb (X Virtual Frame Buffer) on *NIX systems without running X itself, a stripped down Mozilla navigate to and display the page, and then snap a "screen" shot of the buffer. Not very economical, but it would work. -- </Daniel P. Brown> daniel.brown@parasane.net || danbrown@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print - email me to find out!

« previous php.general (#285881) next »