Taking a JPG screenshot 26/07/2012
browser.driver.save_screenshot("<name of file>.jpg")

The screenshot functionality of Webdriver an be accessed with the .driver method, which taps directly into selenium-webdriver methods. The filename defines the filetype of the screenshot.