views:

70

answers:

3

What I mean is to get the rendered HTML and make a Jpeg/GIF out of it. The idea is to make a digital snapshot of a page.

+1  A: 

It will probably require far more effort than it is worth. Why not look at services that already provide this for you? (Like Alexa)

webdestroya
+1  A: 

You cannot do that in PHP only ; but, from PHP, you can start a browser, indicating it that it has to load the URL you want, and, then, get a "screenshot" from that browser.

I've heard a couple of time of Firefox being able to do that -- should be a couple of questions+answers here on SO that should help you get started ; here are a couple of those :

Pascal MARTIN
A: 

How about HTML to a PDF? Many libraries available. And PDF's can in turn converted to Image?

That can be done right? Or am I way off?

jini
This worked for me eventually.
jini