This small PHP class takes an URL and puts a screenshot to a file.
PHP

README

For more information see http://phpgangsta.de/2794