This project is read-only.


Jan 25, 2013 at 3:39 PM

How can I define an artistic qrcode?



my test code is:

  Console.Write("Type some text to QR code: ")
        Dim sampleText = Console.ReadLine()

        Dim qrEncoder As New QrEncoder(ErrorCorrectionLevel.M)
        Dim qrCode = qrEncoder.Encode(sampleText)

        Dim gRender As New Gma.QrCodeNet.Encoding.Windows.Render.DrawingBrushRenderer(New Gma.QrCodeNet.Encoding.Windows.Render.FixedModuleSize(4, Windows.Render.QuietZoneModules.Four))
        Dim matrix = qrCode.Matrix

        Using stream As IO.FileStream = New IO.FileStream("qrcode.png", IO.FileMode.CreateNew)
            gRender.WriteToStream(matrix, Windows.Render.ImageFormatEnum.PNG, stream)
        End Using

        Console.WriteLine("Press any key to quit.")

Jan 25, 2013 at 6:11 PM

Artistic code will not be part of this project's feature anymore.


Artistic code itself is useless on nearly any situation. Error correction is QrCode's biggest feature, even though is not unique, but QRCode won't exist without it. Artistic code approach simple removed that ability, then QrCode is not usable anymore. 


Code should not just attracting people's eye, 99% of usage is that people want to scan code. Artistic code cause people can not scan from far distance, or poor environment. Then what's different to normal poster?


Leave those artistic code for artist.  I will remove Artistic Code stuff from front page. 

Jan 26, 2013 at 2:12 PM

Maybe you're right, but maybe artistic code can be useful. For example, I need to print qrCodes on small paper (A4, or business cards) and the degraded code quality is wide acceptable (in fact I've tried to superimpose a entire logo over the qrcode and it remains very affordable in this scenario). Your example on codeplex is really impressive as marketing result, my opinion.

However, if you did remote it, it's mandatory to remote all references on codeplex because they create false expectations.

However, good library :)


Jan 26, 2013 at 8:59 PM

That one never worked. Also most of artistic QrCode are done by artist anyway. Some of them done by library, but you can not do word or large image over, only very tiny small image at center. 


Most of time when artist trying to resolve that is to check different QrCode output, to find a proper one, so that once image or word you want put there won't change a lot of cell's color. And adjust image or word according to exist QrCode layout.  For word you can notice, if they are large, it will be ugly. They are trying to make word fit QrCode not other way around. 


For business card I won't suggest that. We had people trying to print on QrCode, because too many information have been stick into the content, QrCode too big. Cause cell model too small, had really hard time to read even without artist code.  If you print on A4, then there are plenty of space to describe your QrCode than put on code. 


It might be good at initial impression, but if that cause large number of failure decode, your business lose will be larger than gain. That come down to whether you want them to impressed by client's eye look at code or their mobile. 


It's also true that I haven't found a proper way of implement it. And on other hand, they are not on huge demand. I still remember a mobile client use small icon inside QrCode, I had huge issue of detect it. Nearly throw that application away. Then later on found that they removed that implementation. All in all, I would rather spend time to improve current class structure, and platform support than wasting time on that. 


That's my experience with artistic code. And thanks that you like our work. :) 


I only changed front page. Don't think there are any other reference on codeplex's project page. Codeproject has an article which done by previous coordinator. Can't not really change that. Thanks for point out, I will check around see if there are any left over.