vova616/screenshot
2019-04-05 21:56:39 Author: github.com(查看原文) 阅读量:262 收藏

Join GitHub today

GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.

Sign up

No description, website, or topics provided.

Simple cross-platform pure Go screen shot library. (tested on linux&windows&osx)


Installation

go get github.com/vova616/screenshot

Basic Usage

Import the package

import (
    "github.com/vova616/screenshot"
)
func main() {
    img, err := screenshot.CaptureScreen()
    myImg := image.Image(img)
}

Dependencies


Examples

Look at example/ folder.


文章来源: https://github.com/vova616/screenshot
如有侵权请联系:admin#unsafe.sh