a barcode creation lib for golang
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
niqt opened this issue 6 years ago · comments
Hi, i'm trying to use this code `qrCode, _ := code128.Encode("test1002")
// create the output file file, _ := os.Create("qrcode.png") defer file.Close() // encode the barcode as png png.Encode(file, qrCode)`
but the code 128 generated is very small. What do i wrong?
Resolved using barCode, err := barcode.Scale(qrCode, 250, 40) Sorry!