Capture a desktop window to a png file. Simple and easy.
npm install --save capture-window
var captureWindow = ;;
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.