mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
18 lines
264 B
Go
18 lines
264 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"reflect"
|
|
|
|
"github.com/go-vgo/robotgo"
|
|
)
|
|
|
|
func main() {
|
|
|
|
var bitmap robotgo.Bitmap
|
|
bit := robotgo.OpenBitmap("./test.bmp", 2)
|
|
bitmap = robotgo.ToBitmap(bit)
|
|
fmt.Println("...type", reflect.TypeOf(bit), reflect.TypeOf(bitmap))
|
|
|
|
}
|