Merricx / qrazybox

QR Code Analysis and Recovery Toolkit
https://merricx.github.io/qrazybox/
MIT License
369 stars 43 forks source link

wip: support more QR code versions #5

Closed denysvitali closed 1 year ago

denysvitali commented 2 years ago

Relates to #2 .

In this branch I'm currently creating a way to dynamically create a QR template based on the version, and without using any templates.

So far I was able to create a QR code from scratch by just generating everything dynamically, with the following elements:

To be equally comparable to the provided templates, I'd need to add the version information - but I'm kind of stuck here since I still need to read the spec about it.

Here is an example of how the QR code looks like now: image

I have also created two pages (index2.html and finder-example.html) to be able to debug the two versions (hardcoded template vs generated QR), to make the debugging easier. Of course these two pages will not be part of the final commits (or they'll be placed in a debug directory).