makiuchi-d / gozxing

Port of ZXing (https://github.com/zxing/zxing) core to pure Go.
Other
565 stars 65 forks source link

Please add some examples, encoder and decoder? #35

Closed hitzhangjie closed 4 years ago

makiuchi-d commented 4 years ago

What type of barcode example do you need? An example of a QR code decoder can be found in README.md.

angelogeminiani commented 3 years ago

Can you please add an example about encoder usage? How to save data on image?

makiuchi-d commented 3 years ago

@angelogeminiani I add a generating barcode example in README.md.

*BitMatrix generated by the gozxing.Writer.Encode() implements the image.Image interface. So, you can save to a image file by the Go's standard way.