Simple cross-platform pure Go screen shot library. (tested only on linux&windows, mac is currently not working)
Forked by pato: modified to reuse X connections (useful where you need to take screenshots at a high rate)
Install:
go get github.com/pato/screenshot
Dependencies:
Windows: https://github.com/AllenDang/w32
Other: https://github.com/BurntSushi/xgb
Example
look at example/ folder.