mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Fixed a typo
This commit is contained in:
parent
f05cc5e6f2
commit
088d674453
@ -201,7 +201,7 @@ func main() {
|
|||||||
|
|
||||||
bit := robotgo.CaptureScreen(10, 10, 30, 30)
|
bit := robotgo.CaptureScreen(10, 10, 30, 30)
|
||||||
defer robotgo.FreeBitmap(bit)
|
defer robotgo.FreeBitmap(bit)
|
||||||
robotgo.SaveBimap(bit, "test_1.png")
|
robotgo.SaveBitmap(bit, "test_1.png")
|
||||||
|
|
||||||
img := robotgo.ToImage(bit)
|
img := robotgo.ToImage(bit)
|
||||||
imgo.Save("test.png", img)
|
imgo.Save("test.png", img)
|
||||||
|
@ -199,7 +199,7 @@ func main() {
|
|||||||
|
|
||||||
bit := robotgo.CaptureScreen(10, 10, 30, 30)
|
bit := robotgo.CaptureScreen(10, 10, 30, 30)
|
||||||
defer robotgo.FreeBitmap(bit)
|
defer robotgo.FreeBitmap(bit)
|
||||||
robotgo.SaveBimap(bit, "test_1.png")
|
robotgo.SaveBitmap(bit, "test_1.png")
|
||||||
|
|
||||||
img := robotgo.ToImage(bit)
|
img := robotgo.ToImage(bit)
|
||||||
imgo.Save("test.png", img)
|
imgo.Save("test.png", img)
|
||||||
|
Loading…
Reference in New Issue
Block a user