XHTML/CSS to png(screenshot?)

Is there any applications I can find to convert xhtml into a screenshot? I want php to generate a page and then to save a png image of it. Is there any way to do this?

There are free services online that will generate an image based on a website for you, but they can become pretty bogged down. If you can use a server with KDE, you can use khtml2png by calling it from the PHP script. I don’t know of any free apps that will render a webpage without an X installation.

Read my blog. You know you want to…