webkit2png is a command line tool that creates png screenshots of webpages.

For more details, visit http://www.paulhammond.org/webkit2png/