How to generate barcode image.

Jun 30, 2011 at 3:25 AM
Edited Jun 30, 2011 at 3:26 AM

I wannt use this lib to encode/generate barcode image from a input string. Can it support?

I find that QRCodeWrite can generage ByteMatrix from string, the function is ready? and if it is ok, how to generate bitmap from ByteMatrix?

 

Thanks!

Coordinator
Jun 30, 2011 at 3:39 PM

I have not tested the QRCodeWriter class, so I don't know if it works yet or not. You should refer to the original ZXing documentation for how to use that class:

http://zxing.org/w/docs/javadoc/com/google/zxing/qrcode/QRCodeWriter.html

http://code.google.com/p/zxing/source/browse/trunk/core/src/com/google/zxing/qrcode/QRCodeWriter.java?r=1028

http://groups.google.com/group/zxing/browse_thread/thread/903492d2b318cfd5/b306358001adf5ce?lnk=gst&q=QRCodeWriter+#b306358001adf5ce

http://groups.google.com/group/zxing/browse_thread/thread/f8b8f0400ca44383/9301a3b5cb0963f3?lnk=gst&q=QRCodeWriter+#9301a3b5cb0963f3

http://groups.google.com/group/zxing/browse_thread/thread/eac524a95cede651/b8a40acfecbcf58d?lnk=gst&q=QRCodeWriter+#b8a40acfecbcf58d

Jul 1, 2011 at 6:18 AM

Thanks, gbryut. The last link give me inspiration.