akamfoad / qrcode

Generate QR codes as SVG, HTML5 Canvas, PNG and JPG files, even text for the terminal.
https://akamfoad.github.io/qrcode/
MIT License
29 stars 1 forks source link

QRCode mode/encoding #35

Open jrocha opened 1 month ago

jrocha commented 1 month ago

Are there plans to support other modes other than text?

QRCode standard has four modes of encoding: (I) numeric, (ii) alphanumeric, (iii) byte or binary, and (iv) kanji

akamfoad commented 3 weeks ago

@jrocha This is a revival of the dead project, most of what I added are types and cleanups so far, I haven't had the time to explore the details of how it works, but I think there is a table that explains the capacity of the levels so it might already support one or all these others modes, feel free to checkout https://github.com/akamfoad/qrcode?tab=readme-ov-file#41-data-capacity-in-bytes

The backend for this project is in https://github.com/akamfoad/qr repo, feel free to explore it and contributions are welcome.