webkit2png

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

Here's an example of it's output:

screenshot of blogger.com

With tall or wide pages that would normally require scrolling, it takes screenshots of the whole webpage, not just the area that would be visible in a browser window.

webkit2png makes use of webkit, the rendering engine used in Safari.

Requirements

This script has only been tested on my laptop, so this list of requirements is just an educated guess. Any clarifications are welcome

Alternatives

If you do use a mac, but don't like the command line or installing things like pyobjc, then you may want to try paparazzi!, which is a GUI app based on some of the ideas in webkit2png.

If you use linux instead of a mac, you may be more interested in khtml2png or Matt Biddulph's Mozilla screenshot script.

Using webkit2png

  1. Ensure your computer has all the requirements listed above
  2. Download webkit2png
  3. Open terminal or another shell
  4. Type python /path/to/webkit2png http://www.google.com/
  5. Notice that three png files have appeared in the current directory
  6. Type python /path/to/webkit2png --help to get a list of command line options

Recent News