views:

5290

answers:

3

Hi,
I'm seeking an open source QR codes image generator component in java (J2SE), but the open source licence mustn't be a GPL licence (needs to be included in a close source project).

BTW, i can't access the web from the project so no Google API.

+2  A: 

ZXing is is an open-source, multi-format 1D/2D barcode image processing library implemented in Java. It is released under the The Apache License, so it allows use of the source code for the development of proprietary software as well as free and open source software.

Paolo Moretti
Doesn't generate QR Codes. It only scans them.
Mercer Traieste
In their web app example of qr generator they are using http://code.google.com/apis/chart/types.html#qrcodes to generate the qr code.
Mercer Traieste
I can't access the web from the project so, no google API or web service.
They do, however, have an almost finished implementation of the qr code generator - not the qr image generator. So you could give this project a try.
Mercer Traieste
The generator i saw, in that project is the one using GWT, or did i missed something ?
No the project has both a GWT front-end for QR Code generation that uses the Google Chart Server for the actual image generation, and also a native Java QR Code generator that can be embedded.
Sean Owen
+3  A: 

Mercer - no, there is an encoder in the library too. com.google.zxing.qrcode.encoder. We provide that in addition to an example web app using Google Chart APIs

Sean Owen
ok thank you! i just have to create an Image using the qrCode.getMatrix().getArray();
A: 

I'm looking for an answer myself. I found this: http://qrcode.sourceforge.jp/ ... does this project look promising to anyone?

Shawn Hartsock
well, this project doesn't provide encoding QR code, the code is using GPL licence and there is no update since 2007.
yep, I can only decode an image
Antonio