OUDON / rmqrcode-python

Rectangular Micro QR Code (rMQR Code) Generator in Python
https://pypi.org/project/rmqrcode/
Other
155 stars 16 forks source link

R13x27 code are can't be recognized by QRQR #52

Open tkamiya22 opened 2 months ago

tkamiya22 commented 2 months ago

The codes that generated this library with version R13x27 are could not be recognized with QRQR.

to Reproduce

  1. $ rmqr foo foo.png --version R13x27
  2. scan foo.png with QRQR

foo

Version

rmqrcode: 0.3.2 QRQR for Android: 3.0.32

tkamiya22 commented 2 months ago

When I changed the value of k to 12, I was able to read it with QRQR. (I'll make a PR after I check some cases.)

foo_R13x27

https://github.com/OUDON/rmqrcode-python/blob/9dbbc2c6163fde897431a57cad9e475bf1e56e48/src/rmqrcode/format/rmqr_versions.py#L576-L582