boombuler / barcode

a barcode creation lib for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code128

niqt opened this issue · 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?
qrcode

Resolved using barCode, err := barcode.Scale(qrCode, 250, 40)
Sorry!