Skip to content

Crossplatform Utility to capture screenshot

License

Notifications You must be signed in to change notification settings

getgauge/gauge_screenshot

Repository files navigation

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.

Contributor Covenant

Usage

gauge_screenshot <file_name>

Install:

go get github.com/getgauge/gauge_screenshot

Offline installation

Download the plugin from Releases

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 gcc.

Dependencies:

Credits

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

License

GNU Public License version 3.0 Gauge is released under GNU Public License version 3.0

Copyright

Copyright 2015 ThoughtWorks, Inc.