Fork from vova616/screenshot that reuses X connections instead of creating new ones
Clone or download
Pull request Compare This branch is 3 commits ahead, 7 commits behind vova616:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
LICENSE
README.md
screenshot_darwin.go
screenshot_freebsd.go
screenshot_linux.go
screenshot_windows.go

README.md

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.