Surprised pngpaste isn't mentioned (in the article nor the comments).
If you take a screen shot (command + shift + 4) or partial screen shot (command + shift + control + 4) you can save it directly to an image file with:
pngpaste filename.png
replies(4):