This is a migrated thread and some comments may be shown as answers.

Resulting image not like others QR code generators

3 Answers 326 Views
QRCode
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Dan asked on 14 Jan 2020, 07:57 AM

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

3 Answers, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 16 Jan 2020, 08:40 AM

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.
0
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 16 Jan 2020, 09:39 AM

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.

0
Alex Hajigeorgieva
Telerik team
answered on 20 Jan 2020, 08:30 AM

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.
Tags
QRCode
Asked by
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Alex Hajigeorgieva
Telerik team
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or