QrCodeMaster
  • Welcome To QrCodeMaster
  • Getting Started
    • Introduce
    • Example Widget Editor
  • Explain
    • Generate QrCode
    • Save Generate Qrcode to Path
  • Other
    • Discord Channel
Powered by GitBook
On this page
  • Input Explain
  • Example Tutorial
  • Input String
  • Scale
  • Scale Blur Code
  • Border Size
  • Linear Color
  • Linear Background Color
  • Version
  • Encoding Mode
  • Error Correction Level
  1. Explain

Generate QrCode

PreviousExample Widget EditorNextSave Generate Qrcode to Path

Last updated 7 months ago

Using Static Function Library (can process in anywhere)

Input Explain

  • Scale - place your text or link

  • Scale - Blur or Clear (Recommended "15")

  • Linear Color - Inside Qrcode Color

  • Linear Background Color - Outside Qrcode Color

  • Border Size - Inside Border Range

  • Error Correction Level -

    • QR_ECLEVEL_L -Can fix up to 7% of the information.

    • QR_ECLEVEL_M - Can fix up to 15% of the information.

    • QR_ECLEVEL_Q - Can fix up to 25% of the information.

    • QR_ECLEVEL_H - Can fix up to 30% of the information.

  • Version - Point to point version scale

  • Encoding Mode

    • NUL - Terminator (NUL character). Internal use only.

    • NUM - Numeric mode.

    • AN - Alphabet-numeric mode

    • EIGHT_BIT - 8-bit data mode.

    • KANJI - Kanji (shift-jis) mode.

    • STRUCTURE - Internal use only.

    • ECI - ECI mode.

    • FNC1FIRST - FNC1, first position.

    • FNC1SECOND - FNC1, second position.

Example Tutorial

Input String

Scale

Cannot be 0 , minimum = 1

if scale = 1

if Scale = 100

Scale Blur Code

Dont Change any code if you dont know c++

Blur FTexture2dMipMap
     * @param sentBitmap
     * @param radius
     * @param canReuseInBitmap
     * @return
     
        int w = bitmap.getWidth();
        int h = bitmap.getHeight();

Border Size

0
15
25

Linear Color

Linear Background Color

Version

Maximum 40 is recommended because it will lag

0 & 1
15
25

Encoding Mode

Encoding Mode
QR Version Range
Indicator Size in Bits

Numeric

1-9

10

Alphanumeric

1-9

9

Byte

1-9

8

Kanji

1-9

8

Numeric

10-26

12

Alphanumeric

10-26

11

Byte

10-26

16

Kanji

10-26

10

Numeric

27-40

14

Alphanumeric

27-40

13

Byte

27-40

16

Kanji

27-40

12

Error Correction Level

Data and Error Correction Level

Naturally, the first step in creating a QR code is choosing the data to encode. We also need to specify an error correction level. Along with the encoded data, the QR code creates error correction codewords that are able to correct error in reading the data, up to a point. The error correction level describes the level of recovery of incorrect data. The higher the level, the higher percentage of data that is able to be recovered.