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.
gauge_screenshot <file_name>
go get github.com/getgauge/gauge_screenshot
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.
- Windows: https://github.com/AllenDang/w32
- Linux/Freebsd: https://github.com/BurntSushi/xgb
- OSx:
screencapture
:)
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.