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

Set DataMode manually #58

Open
stokito opened this issue Aug 4, 2022 · 0 comments
Open

Set DataMode manually #58

stokito opened this issue Aug 4, 2022 · 0 comments

Comments

@stokito
Copy link

stokito commented Aug 4, 2022

The classifyDataModes() method tries to detect which dataModeNumeric, dataModeAlphanumeric or dataModeByte to use. Interesting that there is also Japan mode which is not supported. Maybe it makes sense to support it?

I have to generate many qr codes as fast as possible so I want to set the mode manually to skip this detection.

Can we create a new field in the config to preset the mode?

The https://github.com/yeqown/go-qrcode allows to do that.

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

1 participant