Skip to content

Module size (note pixelsPerModule) #463

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

Closed
M-t-t-h opened this issue Jul 12, 2023 · 1 comment
Closed

Module size (note pixelsPerModule) #463

M-t-t-h opened this issue Jul 12, 2023 · 1 comment

Comments

@M-t-t-h
Copy link

M-t-t-h commented Jul 12, 2023

Type of issue

[ ] Bug
[X ] Question (e.g. about handling/usage)
[X ] Request for new feature/improvement

Expected Behavior

First, thanks for this code, it's great work and already full of utilities.
About my question (future request if not possible :) ):
I d'like to get "smaller module", like modure with white border.
I Tried a lot of parameters but pixelPerModule not answer to my probleme and looks have small impact

Si, is it possible to change de "square size" (module size) ?
I attach a image. Left : what QRCode do, right: what i d'like to do.

qrcodeTicket
Thanks in advance !

Current Behavior

Possible Solution (optional)

Steps to Reproduce (for bugs)

Your Environment

Latest nugget for c# code

@codebude
Copy link
Owner

From QRCoder version 1.5.0 on (soon to be released), you can use the ArtQrCode renderer (instead of QrCode) and its parameter pixelSizeFactor to get your expected results.
See also: https://github.com/codebude/QRCoder/wiki/Advanced-usage---QR-Code-renderers#211-artqrcode-renderer-in-detail

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