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

Add customization of error code level (ecl) #52

Closed
matbech opened this issue Mar 11, 2024 · 3 comments · Fixed by #53
Closed

Add customization of error code level (ecl) #52

matbech opened this issue Mar 11, 2024 · 3 comments · Fixed by #53

Comments

@matbech
Copy link

matbech commented Mar 11, 2024

At the moment fast_qr (javascript/wasm interface) always uses the default error code level (ecl) of Q (25%). It would be desirable if this can be configured through SVGOptions.

e.g.

const options = new SvgOptions()
  .ecl(ECL.Q);
@erwanvivien
Copy link
Owner

fast_qr-0.12.1.tgz

Hey, could you try this dist and tell me if it fits your needs?

@matbech
Copy link
Author

matbech commented Mar 11, 2024

It is working exactly as I was looking for. Thank you.

@matbech matbech closed this as completed Mar 11, 2024
@erwanvivien
Copy link
Owner

@matbech I updated https://www.npmjs.com/package/fast_qr to 0.12.1 with exactly the same dist, you can use that if you want

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

Successfully merging a pull request may close this issue.

2 participants