Projects > MasmBasic & the RichMasm IDE

QR code generator

(1/2) > >>

Just for fun, attached a QR code generator - 72 lines of purest Assembly :biggrin:

You can supply a URL via the commandline, or you paste it in the edit box and hit Enter. Right-click into the image to save it to disk. I've tested it with Scanner QR for Android, and it works like a charm.

impressive jj :smiley:

Version 2, slightly improved so that longer text can be displayed: Window size and resolution will adapt to the amount of information needed.

Just have to test it :azn:


--- Quote from: TimoVJL on November 24, 2022, 02:48:14 AM ---Just have to test it :azn:

--- End quote ---

What is that tiny lousy website, Timo?  :biggrin:

Attached version 3 of the QR code generator; remember to right-click into the image. In case you can't see the *.asc source because you don't have WordPad or RichMasm on your machine, here is the source in plain text *.asm:

Btw with Jack's DLL there is a 2996 character limit (the source above has 2906 chars). There are several sizes reported on the web:

--- Quote ---Model 1:
The original QR Code, a code capable of coding 1,167 numerals with its maximum version being 14 (73 x 73 modules)

Model 2
This code can encode up to 7,089 numerals with its maximum version being 40 (177 x 177 modules).
--- End quote ---

--- Quote ---A QR code can store up to 4,296 alphanumeric characters of arbitrary text. The text can be anything from contact information, a URL, or even a telephone number.
--- End quote ---


[0] Message Index

[#] Next page

Go to full version