re-implement SVG version from scratch
This implementation is using the bit matrix returned by zxing, and then we do our own SVG rendering. The SIX-supplied Swiss Cross SVG version is now used for the overlay. The resulting SVG has been successfully tested in a number of different SVG rendering engines: • Google Chrome 86 • Firefox 82 • Emacs 26 • GIMP • Inkscape • Mobile Safari When rendering the SVG onto 1265x1265 px at 600 dpi, the resulting image matches the PNG version exactly.
This commit is contained in:
3
go.mod
3
go.mod
@@ -3,13 +3,10 @@ module github.com/stapelberg/qrbill
|
||||
go 1.14
|
||||
|
||||
require (
|
||||
github.com/aaronarduino/goqrsvg v0.0.0-20170617203649-603647895681
|
||||
github.com/ajstarks/svgo v0.0.0-20200320125537-f189e35d30ca
|
||||
github.com/boombuler/barcode v1.0.0
|
||||
github.com/davecgh/go-spew v1.1.1
|
||||
github.com/makiuchi-d/gozxing v0.0.0-20200903113411-25f730ed83da
|
||||
github.com/mattn/go-isatty v0.0.12
|
||||
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
|
||||
golang.org/x/text v0.3.4 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user