Page 1 of 1

HTML to JPG converter for PHP?

Posted: Wed Dec 03, 2008 8:07 am
by thisismyurl
Hi all, I need to find a way to convert HTML to a static graphic file for a web site that I'm working on. Ideally, I would call a function and it would return the graphic. Any ideas?

What I'm trying to do is allow users to make changes with a form and then submit the results and have a graphic returned. I'd like to use HTML and CSS to generate the graphic. I'm hosting in a Linux environment at http://www.bluehost.com/track/getawaygraphics/ and have access to the image functions.

--
Christopher
http://www.thisismyurl.com

Re: HTML to JPG converter for PHP?

Posted: Wed Dec 03, 2008 11:28 am
by panic!

Re: HTML to JPG converter for PHP?

Posted: Thu Dec 04, 2008 4:21 am
by thisismyurl
Generating the thumbnail is not the problem / question, it's how to generate the original image in the first place but thanks, if any body know how to convert HTML to a JPG using PHP I would really appreciate some options.

Re: HTML to JPG converter for PHP?

Posted: Thu Dec 04, 2008 5:03 am
by requinix
thisismyurl wrote:Generating the thumbnail is not the problem / question, it's how to generate the original image in the first place but thanks, if any body know how to convert HTML to a JPG using PHP I would really appreciate some options.
Did you even bother looking? Did you see the word "thumbnail" and immediately assume you knew what all the results were about?

Result 1: Website Thumbnail Generator
IECapt would run Internet Explorer, grab full sized website screenshot from it, and save image into the folder you specified in script settings.
Result 2: website tools - Website Thumbnails
Our website thumbnail generator is - if you believe all the statements we receive - one of the best out there. This due the fact, that it allows any size of thumbnails, snap subpages ( not only the tld ), realtime preview ( depending on how long the page which is snapped takes to load ), loads of parameters to suit your needs, update option and a lightning fast preview when images have been created already.
Result 3: Free Website Thumbnail Generator Service
ShrinkTheWeb (STW) will allow any webmaster who wants to show website previews dynamically to do so using our free, powerful, and reliable service.

Re: HTML to JPG converter for PHP?

Posted: Thu Dec 04, 2008 6:53 am
by thisismyurl
Of course I took a look at the Google search results, I appreciated panic! assumed I was incapable of using Google. I need something that runs in a Linux environment and shows the result of a custom script, which rules out hosted solutions.

Re: HTML to JPG converter for PHP?

Posted: Thu Dec 04, 2008 11:08 am
by panic!

Re: HTML to JPG converter for PHP?

Posted: Thu Dec 04, 2008 12:26 pm
by thisismyurl
Thanks panic, I also found HTML2PS early this morning, it's capable of converting from a web page to PS or PNG at http://freshmeat.net/projects/html2ps_php/. I really appreciate the alternative.