Categorygithub.com/higker/qrcode-go
repositorypackage
0.0.2
Repository: https://github.com/higker/qrcode-go.git
Documentation: pkg.go.dev

# README

设置头像

    qr.SetAvatar(&qrcode.Avatar{
		Src:    "../static/1.jpg",
		Width:  60,
		Height: 60,
		Round:  10,
	})

设置背景图

qr.SetBackgroundImage(&qrcode.SetBackgroundImage{
		Src:    "../static/3.png",
		X:      70,
		Y:      55,
		Width:  270,
		Height: 270,
	})

设置前景图

qr.SetForegroundImage("../static/2.png")

image image image image image image image image image image