Resulting image not like others QR code generators

4 posts, 0 answers
  1. Dan
    Dan avatar
    167 posts
    Member since:
    Nov 2017

    Posted 14 Jan Link to this post

    I have an application that needs to support QR codes and I am analysing different solutions. Since I am already using kendo in the application I though I should test it. However when I tried with an example I saw that the code generated is not the same as the other QR code generators out there on the internet. All that I tested resulted in the same image, however the telerik resulted in a different image.

    What QR code does it generate?

    the text I used was "ABC123456789" on

    https://racoindustries.com/barcodegenerator/2d/qr-code/

    https://www.qrstuff.com/

    https://ro.qr-code-generator.com/

    https://www.the-qrcode-generator.com/

    and all generated the same image but the https://demos.telerik.com/aspnet-core/qrcode/api generated a different image.

    Is there a configuration that will generate the same code like the others code generators

  2. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    1037 posts

    Posted 16 Jan Link to this post

    Hello, Dan,

    I visited the sites and using the default settings and non-dynamic QR Code (which gave a different result) and generated these QR Codes which  indeed look the same. The first two are made with a Kendo QRCode with default settings except the encoding:

     

    Barcodes also have four degrees of errorCorrection as well as a quiet zone length, padding and baseUnit and they all play a role in the building of the matrix. 

    Can you let us know if there is a reason you would like the QRCode to look the same or is there an issue with it? Perhaps if we have the full information about the Barcode variables used to create them, we can check what are the differences.

    Kind Regards,
    Alex Hajigeorgieva
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Dan
    Dan avatar
    167 posts
    Member since:
    Nov 2017

    Posted 16 Jan in reply to Alex Hajigeorgieva Link to this post

    Like I said I am just analyzing different solutions and I saw that kendo was generating a different image, however I do not have a barcode scanner at hand so I do not know if the code is going to be read successfully hence the reason I compare the images.

    Just wanted to be sure that the Kendo solution is going to work like the others.

  4. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    1037 posts

    Posted 20 Jan Link to this post

    Hi, Dan,

    I tested them with the built-in iPhone QR Scanner and they all generate the same thing. You can download any app that scans QR codes on a mobile phone and verify that the value is interpreted correctly if using Android devices. 

    There are different ways to encode a QR code and most use UTF8 which is universal for all symbols, however it is not optimal. By default Kendo UI uses optimal encoding meaning it includes maximum number of symbols on a minimal space.

    In case you have any issues with a generated QR code and its value, please share an example so we can investigate.

    Regards,
    Alex Hajigeorgieva
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top