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

Is it possible to increase the size of the QR code generated? #53

Open
moneyhan opened this issue Apr 30, 2018 · 2 comments
Open

Is it possible to increase the size of the QR code generated? #53

moneyhan opened this issue Apr 30, 2018 · 2 comments

Comments

@moneyhan
Copy link

Looked through the code and nothing jumped out at me.

Thanks

@wrass
Copy link

wrass commented May 9, 2018

@moneyhan Just specify a larger cellSize and/or margin parameter when calling one of the create methods, for example:

var typeNumber = 4,
	errorCorrectionLevel = 'L',
	cellSize = 5,
	margin = 10;
var qr = qrcode(typeNumber, errorCorrectionLevel);
qr.addData('Hi!');
qr.make();
document.getElementById('placeHolder').innerHTML = qr.createImgTag(cellSize, margin);

@khoi01
Copy link

khoi01 commented Jul 8, 2019

Thank you.

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

3 participants