functional overview
Create a QR code image.
Details of Functions
Creates a QR code image with the specified string.
- attention (heed)
- The QR code creation algorithm differs depending on the OS, so even if a QR code with the same value is created, the cell position of the generated QR code will differ depending on the OS.
parameter
- argument (e.g. function, program, programme)
-
Value Set the value to be set as the QR code.
If the value is only numbers or only alphanumeric characters, it will be in the respective mode. If any other characters are included, the mode will be binary and the data will be encoded in UTF-8. Please also check the QR code specifications for the amount of data that can be embedded.
Also, in binary mode, the amount of data that can be embedded is 1 byte less on Windows/Android. (Example: When creating a QR code for Japanese data at error correction level M, according to the specifications, 2,331 Bytes = 777 characters can be used, but in Unifinity, only 2,330 Bytes = 776 characters can be used.)
Reference:QR code information amount and version
If the value exceeds the amount of data that can be embedded in the QR code, the QR code image data will not be generated.
Width Specify the width of the created QR code. If it is 0, a negative number, or a non-numeric value, it will be processed as if 531 was specified.
Error correction level Choose from below
- L(7%)
- M(15%)
- Q(25%)
- H(30%)
- return value
-
video data
Returns the image data of the created QR code.
<prev 1911_device/Read QR code>