Joke Collection Website - Public benefit messages - How to generate QR code from information

How to generate QR code from information

Question 1: How to generate your own QR code? Just use the online QR code on the Internet to generate a QR code picture of the information you want to show. Or WeChat also has the function of generating a QR code, and you can use your own information to generate the corresponding QR code.

Question 2: How to compile the data into a QR code? You can search online for QR code generation software and then generate a QR code from your website (there is software, you just need to know how to use it), and then send the generated QR code to your friends! QRCode.exe, you can try searching this software.

Question 3: How to generate QR codes in batches? General bar code printing software can generate QR codes in batches. Add the data to the Excel table without any format, and make a QR code to select the database for import. You can import the information of hundreds of commodities into the QR code in batches. Labelpainter, which has been used all the time, has this function. If the QR code is anti-counterfeiting, it needs to be customized separately.

Question 4: How to generate a QR code? Search for a QR code, then fill in the contents according to the fields on the generator, submit and save, and you can generate a QR code. Take a well-known electronic business card as an example, log in the account, fill in the name, telephone number, product information and other contents of the business card, and save it to generate a QR code. Then, take out your mobile phone and scan the QR code picture to see the contents of the business card.

Question 5: How to turn text into QR code? The information storage capacity of two-dimensional code is very large, for example, it can store as many as 1850 capital letters or 27 10 numbers or108 bytes, or more than 500 Chinese characters, which is several times higher than ordinary bar codes.

Although Chinese characters and pictures, as well as some websites and texts can be compiled into two-dimensional codes, many barcode printing software does not support the compilation of these contents. Among many bar code printing software, the well-known leading bar code label printing software. Its function is also the most complete. The Chinese characters, pictures and websites just mentioned are all supported.

If installing software is troublesome, there are other ways.

The method provided by Baidu experience: jingyan.baidu/...f

Recommend a free two-dimensional code decomposition website (free except enterprise code ~)

cli.im/

However, the website also gives some reminders that the number of words should not exceed 150.

Question 6: How is QR code generated? It is a black-and-white figure with a specific geometric figure distributed on the plane (two-dimensional direction) according to certain rules, and it is a key to all information and data.

Matrix two-dimensional code (also called chessboard two-dimensional code) uses the different distribution of black and white pixels in the matrix to encode in rectangular space.

In the position of matrix elements, square points, dots or other shaped points represent binary "1", and the missing points represent binary "0". The arrangement and combination of points determine the meaning represented by the matrix QR code. Matrix QR code is a new coding system based on computer image processing technology and combined coding principle, which realizes automatic recognition and reading of graphic symbols. Representative matrix two-dimensional codes include: code one, Maxi code, two-dimensional code, data matrix and so on.

In the matrix of figure 2 1*2 1, black and white areas are designated as fixed positions in the two-dimensional code specification, which are called finder pattern and timingpattern. Image search graphics and positioning graphics are used to help the decoding program determine the coordinates of specific symbols in the graphics. The yellow area is used to store coded data content and error correction information codes. The blue area is used to identify the level of error correction (that is, L level to H level) and the so-called mask pattern. This area is called "format information".

Question 7: Can a single graphic message on WeChat public platform be made into a QR code? I don't know if there is a special QR code, and I don't know if it can achieve the effect you said.

Question 8: How do public platform messages generate QR codes? When you successfully apply for an official WeChat account, you will automatically generate this QR code, download it in "WeChat official account settings", make a picture, and upload it to the end of the text every time you make a graphic message.

Question 9: How does a QR code generate basic knowledge?

First of all, the QR code has a total of 40 dimensions. The official name is version. Version 1 is the matrix of 2 1 x 2 1, version 2 is the matrix of 25 x 25, and version 3 is the size of 29. With each version added, the size of 4 will increase. The formula is: (V- 1)*4+2 1(V is the version number) is the highest. (40-1) * 4+21=177, so the highest square is 177 x 177.

Let's look at an example of a QR code:

Positioning mode

The position detection pattern is a positioning pattern, which is used to mark the rectangular size of the two-dimensional code. These three positioning modes have white edges, which are called separators of post-detection mode. The reason why we say three instead of four means that three can identify a rectangle.

Timing mode is also used for positioning. The reason is that there are 40 sizes of QR codes. If the size is too large, you need to have a standard line, otherwise it may be crooked when scanning.

Two-dimensional codes with only two or more versions (including two versions) of the alignment pattern need this thing, which is also used for positioning.

Functional data

Format information exists in various sizes and is used to store some formatted data.

> above = version information in version 7, and two 3 x 6 areas need to be reserved to store some version information.

Data code and error correcting code

In addition to the above locations, other locations store data codes and error correction codes.

data coding

Let's talk about data coding first. The QR code supports the following codes:

Digital mode digital coding, from 0 to 9. If the number of bits to be encoded is not a multiple of 3, the last remaining 1 or 2 bits will be converted into 4 or 7 bits, and the other 3 bits will be encoded into 10, 12, 14 bits, and the encoding length depends on the size of the two-dimensional code (Table 3 below illustrates this point).

Alphanumeric mode character coding. Including 0-9, uppercase A to Z (no lowercase), and the symbol $% *+C./: including spaces. These characters are mapped into a character index table. As shown below: (where SP is a space, Char is a character, and Value is its index value) The encoding process is to group the characters in pairs, and then convert them into the 45-bit system in the table below, and then into the binary system of 1 1 bit, and if there is only one in the end, convert them into the binary system of 6 bits. The encoding method and the number of characters need to be encoded into 9, 1 1 or 13 binary according to different version sizes (Table 3 below).

Byte pattern, byte code, which can be 0-255 ISO-8859- 1 character. Some QR code scanners can automatically detect whether it is UTF-8 encoding.

Chinese character mode, which is Japanese code and double-byte code. Similarly, it can also be used for Chinese coding. The encoding of Japanese and Chinese characters will be subtracted by a value. For example, 8 140 minus 0X8 140 to 0x 9 FCC, and 0XC 140 minus 0XE040 to 0XEBBF. Then take out the first two bits of the result 16, multiply it by 0XC0, add the last two bits 16, and finally. Here is an example:

Extended Channel Interpretation (ECI) mode is mainly used for special character sets. Not all scanners support this encoding.

Structured appending mode is used for mixed coding, that is, this QR code contains multiple coding formats.

The FNC 1 model is mainly used in some special industries or trades. Such as GS 1 bar code and so on.

For the sake of simplicity, this article will not discuss the latter three.

In the following two tables,

......& gt& gt

Question 10: How to generate a two-dimensional code with parameters There are two steps in the process of generating a two-dimensional code with parameters. First, we need to create a ticket with a QR code, and then change the ticket into a QR code with the specified URL.

Every time you create a QR code ticket, you need to provide the parameters (scene_id) set by the developer, and introduce the process of creating temporary and permanent QR codes respectively.

Create a QR code ticket

Every time you create a QR code ticket, you need to provide the parameters (scene_id) set by the developer, and introduce the process of creating temporary and permanent QR codes respectively.

Temporary QR code application description

Application method: mail.

Website: IP/CGI-bin/ QR code /create? Access_token=TOKENPOST data format: json

Post data examples: {expire _ seconds: 1800, action _ name: QR _ scene, action _ info: {scene: {scene _ id:123}}}

Permanent QR code application description

Application method: mail.

Website: IP/CGI-bin/ QR code /create? Access_token=TOKENPOST data format: json

Post data examples: {action _ name: QR _ limit _ scene, action _ info: {scene: {scene _ id:123}}}

Parameter description

Parameter description

Expire_seconds QR code valid time, in seconds. Max 1800.

Action_name QR code type, QR_SCENE is temporary and QR_LIMIT_SCENE is permanent.

Action_info QR code details

Scene_ID Scene value ID, the temporary QR code is a 32-bit non-zero integer, and the maximum value of the permanent QR code is 100000 (currently only 1- 100000 is supported).