qrazybox icon indicating copy to clipboard operation
qrazybox copied to clipboard

wip: support more QR code versions

Open denysvitali opened this issue 4 years ago • 0 comments

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:

  • Finders
  • Alignment Patterns + Spacing

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).

denysvitali avatar Nov 14 '21 23:11 denysvitali