Can somebody recommend the best (and preferably portable) way to render HTML documents onto a bitmap? As far as I understand my main 2 options are WebKit and Gecko, but I w
You can do this from the command line using webkit2png.py, which uses Python and QtWebKit (though I haven't tried it myself yet).
The most promising solution I found so far is this http://sites.google.com/site/torisugari/commandlineprint2 extension for Firefox which adds a command line option for printing a file to a printer, PNG, PostScript or PDF file.
You can try the ScreenGrab plug-in for Firefox.