Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed Mode QR code #585

Open
dandodadon opened this issue Nov 21, 2024 · 1 comment
Open

Mixed Mode QR code #585

dandodadon opened this issue Nov 21, 2024 · 1 comment

Comments

@dandodadon
Copy link

Type of issue

[ ] Bug
[X] Question (e.g. about handling/usage)
[ ] Request for new feature/improvement

Expected Behavior

Hi, I just have question for how to generate a QR code.
I have requirement that the generated QR code should be Version 2 and ECC Q.
I know the limited data length is 29, but my data length is 30.
However, my data looks like this: 1X1234567890123456789012345:XX
in this case, I think i can split it to 3 different parts using different encode mode.
like: 1X -- Alpha Numeric
1234567890123456789012345 -- Numeric
:XX -- AlphaNumeric
this should work in this case.

But I'm not sure is it possible to do this?

Current Behavior

Possible Solution (optional)

Steps to Reproduce (for bugs)

Your Environment

@Shane32
Copy link
Contributor

Shane32 commented Nov 21, 2024

QR code spec definitely allows for mixed-mode encoding, but there is no easy implementation available within QRCoder to do this currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants