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

Incorporate 4-module "quiet zone" around codes #43

Closed
wants to merge 1 commit into from
Closed

Incorporate 4-module "quiet zone" around codes #43

wants to merge 1 commit into from

Conversation

jepler
Copy link

@jepler jepler commented Mar 30, 2013

According to wikipedia, QR codes should incorporate a 4-module "quiet zone", a region of white around all 4 sides of the QR code. This patch implements that as the default. Users can control this behavior by setting the margin option.

Note: if you're wary of changing the default then I'm happy to prepare a different pull request that causes margin to default to 0.

I prepared this patch after reading http://www.die-welt.net/2013/03/opera-standards-and-why-i-should-have-stayed-in-my-cave/ in part because of the apparent opera bug in the rendering of the final row of the table. If this final row is a quiet row then the opera bug would not affect the decodeability of the code.

@jepler jepler closed this by deleting the head repository Jan 13, 2024
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.

1 participant