The ZXing project is able to generate QR Codes:
http://zxing.googlecode.com/svn/trunk/core/src/com/google/zxing/qrcode/QRCodeWriter.java
The code generates a black-and-white matrix, that you write to
whatever media you need.
This feature is used in the Android application to facilitate
sharing data between Android devices by displaying a QR code on the
source device screen and scanning it on the target device.
However looking at the other questions you ask, I have the feeling,
that you are asking especially for the iOS platform (iPhone). The iOS
project is a port/rewrite and does not contain the same feature set.
And it seems (looking at the source) that image generation has not
been ported/rewritten.
2011/1/4 Ricardo1980 <ricardo_r...@yahoo.es>:
There are a number of available routines for generating QR matrices. I've used the Psytec encoder (http://groups.google.com/group/zxing/browse_thread/thread/2b5066766f424840/cb39873b66f78190) since nobody (including me) has had time to port the Java encoder. The comments are in Japanese, but with a small understanding of QR codes (version, ecc, mask) it's straightforward and gcc can easily call from Objective C to C++. From the matrix, it's fairly easy to do the necessary rectangle fill calls in a UIView drawRect call.
On Jan 5, 2011, at 8:36 AM, Ricardo Ruiz wrote:
> Thanks for reply!
>
> Why does quiQR (http://www.quiqr.it/) generate QR Codes if it uses zxing (see about screen)?
> If they added some features, don't they have to release them (I mean, from a legal point of view)?
> Thanks a lot!
>