Capture a desktop window to a png file. Simple and easy.
npm install --save capture-window
var captureWindow = ;;
captureWindow(bundle, title[, filePath], cb)
Captures the window with the title
title of type
bundle is usually the name
of the application, e.g.
The callback receives
Mac OS X at the time being. The source is well prepared for other
systems, pull requests welcome.