Awesome
Screenshot
Simple cross-platform pure Go screen shot library. (tested on linux&windows&osx)
<br/>Installation
go get github.com/vova616/screenshot
<br/>
Basic Usage
Import the package
import (
"github.com/vova616/screenshot"
)
func main() {
img, err := screenshot.CaptureScreen()
myImg := image.Image(img)
}
<br/>
Dependencies
- Windows - None
- Linux/FreeBSD - https://github.com/BurntSushi/xgb
- OSX - cgo (CoreGraphics,CoreFoundation, that should not be a problem)
Examples
Look at example/
folder.