update bitmap example code

This commit is contained in:
vcaesar 2019-04-22 13:49:34 -04:00
parent 997e60a165
commit 0545aff0f2

View File

@ -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")
}