How to create Design QR codes with Java?

懵懂的女人 提交于 2019-12-29 05:31:05

问题


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/



来源:https://stackoverflow.com/questions/4322881/how-to-create-design-qr-codes-with-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!