This project is read-only.

Artistic QR Codes

Mar 8, 2015 at 12:36 AM
Firstly I have read all the posts on this project and I did not find an answer.

I do however understand your standpoint regarding artistic QR Codes.

I would like to alter the library in such a way as to produce artistic qr codes similar to and regardless of whether it is standard or not

I would like to make the changes myself but I am having a hard time understanding the library code.

Could you point me in the right direction as to which part does the actual drawing of the Matrix, the Eyes/Corners and the eyeball shape/squares inside corners.

I would really appreciate it any pointers.

Lastly I would like to thank you for the library, it has helped me a lot so far.
Mar 8, 2015 at 9:24 PM
Not within encoder, you can draw it yourself. So once you got 2d matrix of bar code, you can manually draw it on control and add picture at center after. There is not magic on artistic QrCodes. Its just use QrCode's error correction to do all the work.

First encode to get raw 2D matrix. then draw code on panel, break code by chop of middle where you place your picture. Make sure error correction level is on high.

Artistic code is not part of this project's goal, it was with original coordinator, but it is less to do with encoder but drawing library. Its less to do with Math but more to do with arts.
Mar 8, 2015 at 9:28 PM
Visualead's approach probably better than qrunched. Qrunched is 100% damage QrCode, but visualead's example feels like image under the QrCode. Also make sure those color won't cause readability issue of QrCode. Those are color contrast setting you have to make sure. You also have to check decoder, how decoder filter out colors, so your color contrast setting have to according to that.

And those QrCode, don't expect to work on all decoder. Some of them just not good at error correction.
Mar 10, 2015 at 6:31 PM
Many thanks for this advice you have given me.

It already helps a lot. I am not sure if I want to add images to the qr codes, it is risky for what I want to use it but I want to change the corners and eyes and the colours.

May I ask which method does the 2D matrix drawing in the library?
Mar 11, 2015 at 8:11 PM
We use several different way to drawing under different environment.

winform: bitmap, write as raw byte array.
wpf: Geometry, Path
HTML: SVG (Similar to WPF's path, vector graph)
Also on PDF is vector graph as well.