Generate QrCode

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

Scale Blur Code

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

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.

Last updated