diff --git a/README.md b/README.md index 1ff7b90..e12e3ac 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/README_zh.md b/README_zh.md index 1660c6c..86f0420 100644 --- a/README_zh.md +++ b/README_zh.md @@ -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)