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

Image size 19500 x 19500? #47

Closed
gerwinreuling opened this issue Jan 14, 2020 · 2 comments
Closed

Image size 19500 x 19500? #47

gerwinreuling opened this issue Jan 14, 2020 · 2 comments

Comments

@gerwinreuling
Copy link

When setting QRPixelsPerModule to 300 generates a image of 19500 x 19500
looks like a bug?
authfail

@ahwm
Copy link
Collaborator

ahwm commented Jan 14, 2020

This actually isn't a bug. In this instance, the QRCoder package is asking for the number of pixels per module. A module is one square in the QR code. So a setting of 2 generates a QR code approximately 120x120 pixels.

Using the WebSample project, I set the QRPixelsPerModule to 3 and ended up with an image 171x171.

image

@gerwinreuling
Copy link
Author

Ok, thanx for the info, didn't know that module was one square in the QR Code. My mistake. Thanks for the info.

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