qpliu / qrencode-go Goto Github PK
View Code? Open in Web Editor NEWQR encoder in Go
License: GNU Lesser General Public License v3.0
QR encoder in Go
License: GNU Lesser General Public License v3.0
How to remove the white border from the image?
I already have the border in my app and the extra border in the generated image make it harder to position.
go get github.com/qpliu/qrencode-go falls into error:
can't load package: package github.com/qpliu/qrencode-go: no buildable Go source files in ....
I found your source code are all moved into a subfolder "github.com/qpliu/qrencode-go/qrencode".
In addition, suggest to provide an example in the doc. Below is copied out from your test case
grid, err := Encode("Testing one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen twenty.", ECLevelQ)
if err != nil {
return
}
f, err := os.Create("/tmp/qr.png")
if err != nil {
return
}
defer f.Close()
png.Encode(f, grid.Image(8))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.