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
Download the plugin from Releases
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 gcc
.
- Windows: https://github.com/gonutz/w32
- Linux/Freebsd: https://github.com/jezel/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.