QR Code encoder (ISO/IEC 18004, Model 2, versions 1 to 40).
The text is split into numeric, alphanumeric and byte segments so that the symbol is as small as possible. Characters outside ASCII are encoded as UTF-8 bytes. For GS1 data use Gs1QrCode.
Minimum quiet zone on every side, in modules.
Encodes text in the smallest version that fits, or in exactly version when given.