logo
small logo
  • Products
  • Buy
  • Support
  • Articles
  • Forgot password?
    • en
    • ru
    • pt
    • es
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • How to create QR code with a picture
  • How to use QR-codes in FastReport.Net

    February 15, 2017

    Nowadays “QR-codes” are gaining their popularity. Unlike conventional barcodes, “QR-codes” allow you to encode more

    read more
  • How to create a Swiss QR bill in .NET application

    May 19, 2020

    Recently many countries digitize payments. In other words, they convert existing payments to digital format.

    read more
  • How to make a Swiss QR code bill in Delphi or Lazarus

    June 2, 2020

    Lately many countries have been digitizing payment processes. In other words, they convert existing payments

    read more
  • Aztec– code

    February 15, 2017

    In the article "Using QR-codes in FastReport.Net" we have reviewed the popular 2D barcode

    read more
  • How to connect to SQLCe

    November 11, 2019

    Microsoft SQL Server Compact Edition is a simple local relational database that doesn't require installation,

    read more

How to create QR code with a picture

January 9, 2019

It's no longer a novelty to see a pixel QR barcode on the product packaging. Although it is more complicated than a regular bar code with stripes and it is undoubtedly more reliable. The technology of QR codes contains redundancy (duplication of information) and a checksum. Therefore, even with 30 percent code corruption, it can be read. And the checksum ensures that it is read correctly.

This code safety margin allows you to read it to various mobile devices, with low resolution cameras or in low light (falling shadows).

Due to the fact that the resolution of modern cameras on mobile devices is quite high, the redundancy of the code is no longer so relevant, so the placement of the image inside the code has become fashionable. Typically, this is a company logo. But it may be a small text. For example, the URL of the site, encoded in this code. This will let you know the contents of the code, without a scanner (smartphone).

Typically, images or text are placed in the center of the code, to emphasize attention. A QR code decorated with a logo is perceived quite differently. He draws attention.

The picture is not included in the code, it is superimposed on top after the formation. The main condition - the image can overlap up to 30% of the code, no more.

FastReport.Net has a wide range of barcodes. Of course, among them there is a QR code. Let's take an example. Create an empty report and add a Barcode component of the QR Code type to the report page.

 

Code value: www.fast-report.com.

And now create a Picture object and upload a picture with a logo:

 

Reduce its size and place it in the center of the QR code:

 

Let's try to read this code scanner on your smartphone. Nothing comes out. But why, because the image does not overlap the code by more than 30%?

The point is that the QR code has an error correction setting - this is the degree of code redundancy. By default, it is set to the minimum value.

 

Select the H value for this parameter. The code has changed. Also changed the size of the code. Therefore, you need to center the logo image on it. If you are unable to place the image exactly in the center with the mouse, try holding down the Ctrl key and using the arrows on the keyboard move it in the desired direction. Let's try now to read the code scanner:

 

Now the code was read instantly. And here is an example with text on top of a QR code:

And it also works without any problems.

Although the branding of QR codes deteriorates the resistance to damage, this trend is gaining more and more popularity. After all, it is stylish and attractive.

For more information about using a QR code in FastReport.Net, you can get to the article: https://www.fast-report.com/en/blog/103/show/.

 

about product download buy
avatar
Dmitriy Fedyashov
Head of QA
.NET FastReport Barcode QR Code

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • Ticket system
  • FAQ
  • Tutorial Video
  • Forum
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Our team
  • Contact us

© 1998-2021 by Fast Reports Inc.

  • Privacy Policy