Possible Duplicate:
Website screenshots using PHP
I cannot seem to find a simple example of how to render a webpage to an image via a web server.
Right now I have a backend running Nginx and serving a PHP app, I also have a reverse Proxy serving Node on the same backend.
What I need to achieve is an API to which I can hand a URL and have it rendered as a PNG then stock somewhere on the hard drive. (If this whole process could be asynchronous that would be perfect.)
What would be the best approach to achieve this?