This script allows you to customize QR Code matrix size and QR Code error correction level. Raising this level improves error correction capability, but also increases the size of QR Code. You can leave both fields blank. The default value of matrix size is 21×21, but it can be increased if encoded text is too large. The default ECC level is 4 which means that 30% of codewords can be restored (codeword is a unit that constructs the data area. One codeword of QR Code is equal to 8 bits).
As its final result the script returns vector QR Code in new document. And thanks to ECC Feature 30% of the QR Code space can be occupied by your logo or picture.