nayuki / QR-Code-generator

High-quality QR Code generator library in Java, TypeScript/JavaScript, Python, Rust, C++, C.
https://www.nayuki.io/page/qr-code-generator-library
5.33k stars 1.12k forks source link

Added ASCII string representations #160

Closed the-holger closed 2 years ago

the-holger commented 2 years ago

ASCII string representations as get_ascii as well as str to quickly print and use a QrCode in the terminal.

the-holger commented 2 years ago

Not sure if you want this in your code, but I needed something like that and thought I'd add it and let you choose to include it or not. Cheers!

nayuki commented 2 years ago

Thanks for the idea, but sorry, the omission is intentional. Also note that you are not using ASCII characters. See also: https://github.com/nayuki/QR-Code-generator/issues/163