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

Adding quiet zone header to control the quiet zone #9

Merged
merged 3 commits into from
Sep 24, 2021

Conversation

raunsbaekdk
Copy link

Hi @sayanarijit

This adds a quiet zone header. The quiet zone is a padding that is added to the QR code to help avoid the scanner picking up it's surroundings.
Ressource: https://delivr.com/faq/1455/whats-with-the-white-border-around-the-qr-code

I have added the quiet zone function call to all formats. The default behaviour is false. My change will not interfere with the default behaviour that this library has. It will however give me the option to disable the quiet zone.

Warning: I do not usually develop in Rust.
Which means I probably hasn't done it the right way. You know the gist though. So maybe you can help ease out the kinks?

@sayanarijit
Copy link
Owner

Hey thanks 👍. I'll review soon.

@sayanarijit
Copy link
Owner

Works perfectly.

@sayanarijit sayanarijit merged commit 97189e3 into sayanarijit:main Sep 24, 2021
sayanarijit added a commit that referenced this pull request Sep 24, 2021
sayanarijit added a commit that referenced this pull request Sep 24, 2021
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 this pull request may close these issues.

2 participants