mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
Fixed a typo
This commit is contained in:
parent
f05cc5e6f2
commit
088d674453
2 changed files with 2 additions and 2 deletions
|
|
@ -201,7 +201,7 @@ func main() {
|
|||
|
||||
bit := robotgo.CaptureScreen(10, 10, 30, 30)
|
||||
defer robotgo.FreeBitmap(bit)
|
||||
robotgo.SaveBimap(bit, "test_1.png")
|
||||
robotgo.SaveBitmap(bit, "test_1.png")
|
||||
|
||||
img := robotgo.ToImage(bit)
|
||||
imgo.Save("test.png", img)
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ func main() {
|
|||
|
||||
bit := robotgo.CaptureScreen(10, 10, 30, 30)
|
||||
defer robotgo.FreeBitmap(bit)
|
||||
robotgo.SaveBimap(bit, "test_1.png")
|
||||
robotgo.SaveBitmap(bit, "test_1.png")
|
||||
|
||||
img := robotgo.ToImage(bit)
|
||||
imgo.Save("test.png", img)
|
||||
|
|
|
|||
Loading…
Reference in a new issue