Extending QROptions #3
nodescan-admin
started this conversation in
General
Replies: 2 comments 7 replies
-
Hi, yes the options class is supposed to work similar to the PHP version and can be extended (with some limitations). Lines 359 to 388 in 2d66a57 |
Beta Was this translation helpful? Give feedback.
4 replies
-
Thank you. That was it on the main issue. Very nice. I will create a self-contained example and try to add the logo in the middle too. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
is it possible with this Javascript implementation to extend the QROptions as can be done with the PHP version? I would like to make circular QR codes with an svg logo in the center, like these examples.
https://github.com/chillerlan/php-qrcode/blob/main/examples/svgWithLogo.php
https://github.com/chillerlan/php-qrcode/blob/main/examples/svgRoundQuietzone.php
If it is possible but requires some custom javascript, I would appreciate a brief example/starting point. If it's not possible I will look for other ways.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions