Merge pull request #694 from go-vgo/bitmap-pr

Update: update readme.md
This commit is contained in:
Evans 2024-10-07 14:10:09 -07:00 committed by GitHub
commit c8df366f89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -277,9 +277,9 @@ func main() {
robotgo.Save(img2, "test_"+strconv.Itoa(i)+".png")
x, y, w, h := robotgo.GetDisplayBounds(i)
img3, err := robotgo.CaptureImg(x, y, w, h)
fmt.Println("Capture error: ", err)
robotgo.Save(img3, path1+"_1.png")
img3, err := robotgo.CaptureImg(x, y, w, h)
fmt.Println("Capture error: ", err)
robotgo.Save(img3, path1+"_1.png")
}
}
```