convert a web page into a png

This requires the command-line print extension (see #2861 for more details). I use it to make up complex images with formatted text using CSS and whatnot. It's a lot slicker than imagemagick for certain things. Now imagine using a local webserver with PHP and a database to generate the images.

$ touch $2;firefox -print $1 -printmode PNG -printfile $2