Skip to content

Commit

Permalink
Merge pull request #694 from go-vgo/bitmap-pr
Browse files Browse the repository at this point in the history
 Update: update readme.md
  • Loading branch information
vcaesar authored Oct 7, 2024
2 parents ecc260e + 70f811c commit c8df366
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
```
Expand Down

0 comments on commit c8df366

Please sign in to comment.