QRCode FOP extension

1,080 views
Skip to first unread message

jpt2

unread,
Jan 25, 2010, 1:19:54 PM1/25/10
to zxing
I have managed to create an Apache FOP extension for zxing's QRCode
generation libraries. It appears to be working well in a project I'm
working on. If there's interest in the community, I'd like to find a
way to contribute it.

Do any of the zxing team leaders have an opinion on whether it would
be preferable to coordinate with the zxing project to incorporate what
I've done into the main project, or would it be preferable to release
it on Google Code as a separate project first and let it mature? I'm
open either way.

Info on FOP extensions can be found here: http://xmlgraphics.apache.org/fop/dev/extensions.html

My extension was written specifically to allow the inclusion of a
QRCode barcode in a FOP-generated PDF document by including an XML
node as part of the XSL-FO which is provided to FOP as its source. An
example would look like this (ignore the bogus namespace currently in
use, which will be corrected later):

<fo:instream-foreign-object>
<qr:qrcode xmlns:qr="http://code.google.com/p/fop-qrcode"
length="20" cellsize="2" margin="4"
message="hello, world"
type="1" correction="L">
</qr:qrcode>
</fo:instream-foreign-object>

Sean Owen

unread,
Jan 25, 2010, 1:34:12 PM1/25/10
to zxing
That's cool. It feels like a separate enough project that I'd just
operate it that way. But if you can see a good reason to put it into
the main project, we're open to that.

jpt2

unread,
Jan 28, 2010, 10:09:12 PM1/28/10
to zxing
I guess I'll post it separately for now. I'll email the list when I
get it online. Thanks!

jpt2

unread,
Jan 28, 2010, 10:27:10 PM1/28/10
to zxing
Hey, would it be acceptable to the zxing team if I called my project
zxing-fop-qrcode? (There's already a fop-qrcode project on
code.google.com which wraps another qrcode library). My project is
such a thin wrapper over what zxing has done, it seems appropriate to
make it part of the name to give full credit and help show its true
nature, but I'll understand if there are concerns over the use of the
name in a separate project...

jpt

Sean Owen

unread,
Jan 29, 2010, 5:06:59 AM1/29/10
to zxing
The name is sure fine by us. I suppose you might also talk to that
existing project about combining your code too, since it sounds like
you are doing very much the same thing.
Reply all
Reply to author
Forward
0 new messages