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

change dimensions? #16

Open
professor-rage opened this issue Feb 14, 2018 · 7 comments
Open

change dimensions? #16

professor-rage opened this issue Feb 14, 2018 · 7 comments

Comments

@professor-rage
Copy link

Is there a way to change the QR code dimensions and maintain quality?

Thanks

@Nightbr
Copy link

Nightbr commented Mar 15, 2018

Same question here.

I look further to this lib which use node-qrcode (seems to be this).

I think we need to make a PR and add @input width and pass the width parameter to the node-qrcode lib in order to configure the width output of the generated img: https://github.com/soldair/node-qrcode#width

@Warriormuffin
Copy link

I am also interested in this being implemented.

@danielehrhardt
Copy link

danielehrhardt commented Jun 7, 2020

export const DEFAULT_VALUES = {
  elementType: NgxQrcodeElementTypes.URL,
  cssClass: 'qrcode',
  value: 'https://www.techiediaries.com',
  version: '' as NgxQrcodeVersionType,
  errorCorrectionLevel: NgxQrcodeErrorCorrectionLevels.MEDIUM,
  margin: 4,
  scale: 4,
  width: 10,
  colorDark: '#000',
  colorLight: '#FFF'
};

@jasonmcbride
Copy link

Was width ever added? or is there a way to override the default values?

@danielehrhardt
Copy link

Was width ever added? or is there a way to override the default values?

image

@jasonmcbride
Copy link

jasonmcbride commented Sep 18, 2020 via email

@danielehrhardt
Copy link

@professor-rage maybe you can close this Issue?

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

5 participants