Simple cross-platform pure Go screenshot library. This is used by Gauge plugins as a mean to capture screenshot, but can be used standalone nevertheless.
go get github.com/getgauge/gauge_screenshot
Note to Windows users
In order to compile this code,
gcc must be installed. Please ensure that you install the MinGW gcc and not Cygwin. Also ensure that if you have 64-bit Go installed, then MinGW/gcc is also 64-bit.
One way to install the required way of
gcc on Windows is to use the mingw-w64-install.exe which can fetch and install the desired version of
- Windows: https://github.com/AllenDang/w32
- Linux/Freebsd: https://github.com/BurntSushi/xgb
This code has been forked from vova616/screenshot. The purposes have diverged slightly, the original
screenshot package serves as a library,
gauge_screenshot serves as a standalone utility.
A list of all dependencies can be found here
Gauge is released under GNU Public License version 3.0
Copyright 2015 ThoughtWorks, Inc.