mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-23 17:59:12 +00:00
update bitmap example code
This commit is contained in:
parent
997e60a165
commit
0545aff0f2
1 changed files with 3 additions and 1 deletions
|
|
@ -62,7 +62,9 @@ func bitmapString(bmp robotgo.CBitmap) {
|
|||
|
||||
// sbitmap := robotgo.BitmapFromstring(bitstr, 2)
|
||||
// fmt.Println("...", sbitmap)
|
||||
sbitmap := robotgo.BitmapStr(bitstr)
|
||||
|
||||
// sbitmap := robotgo.BitmapStr(bitstr)
|
||||
sbitmap := robotgo.BitmapFromStr(bitstr)
|
||||
fmt.Println("bitmap str...", sbitmap)
|
||||
robotgo.SaveBitmap(sbitmap, "teststr.png")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue