Skip to content

Codes which has two or more types of blocks cannot be recognized by QRQR. #54

Description

@tkamiya22

The codes that generated this library with these versions are could not be recognized with QRQR.

to Reproduce

Scan the code generated by the following code:

from src.rmqrcode import rMQR, ErrorCorrectionLevel
from src.rmqrcode.encoder import NumericEncoder
from rmqrcode import QRImage

version = 'R9x139'
e = ErrorCorrectionLevel.M

qr = rMQR(version, e)
qr.add_segment('1', NumericEncoder)
qr.make()

image = QRImage(qr, module_size=8)
image.show()

Versions that could not be recognized

ErrorCorrectionLevel.M

27 43 59 77 99 139
R7 -
R9 - x
R11 x
R13 x x x
R15 - x x
R17 - x

ErrorCorrectionLevel.H

27 43 59 77 99 139
R7 -
R9 - x
R11 x x x
R13 x x x
R15 - x x x
R17 - x x x

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions