How to create Design QR codes with Java?

2019-01-23 19:59发布

问题:

I would like to create Design QR codes with Java.
Design QR codes may contain a logo in form of a graphic. Here's an example for such designed codes.

How to create such QR codes?

回答1:

I just found a software that makes it possible to create such QR codes.

There's a different way to put pictures in QR codes. Instead of scribbling on redundant pieces and relying on error correction to preserve the meaning, we can engineer the encoded values to create the picture in a code with no inherent errors, like these:

The software is developed in Go and available via http://code.google.com/p/rsc/source/browse/qr

The author describes it en detail under http://research.swtch.com/qart



回答2:

As far as I know there is no special algorithm needed for embedding images into a QR code. Just take a standard QR code and embed your small image into it using standard image manipulation methods. It may still work if the embedded image was small enough because of the redundancy in the pixel structure - therefore after manipulation you should test the modified QR code.

See also: http://contentdeveloper.com/2010/01/how-to-customize-qr-codes-with-your-brands-identity/



标签: java qr-code