I would like to create a custom qr code with javascript that contains a logo in the middle.
I already found this project on github: https://github.com/kaarposoft/qrlogo but unfortunately this script creates 1000 qr codes, whereupon the logo is always positioned differently, apart from that this project is not really easy to handle. (no documentation etc). I have rewritten in such a way that only one qr code is generated and not more than one and also that it uses an img tag instead of waiting for an upload. Nevertheless, this is not optimal because the logo is always randomly on the qr code and it is a project and not a library.
So I would like to know if someone knows a library or has programmed something to generate a qr code with javascript from an img tag and a string.
Many greetings and thanks.
I just published <qr-code>
, A no-framework, no-dependencies, customizable, animate-able, SVG-based QR code web component.
It lets you customize the colors of the QR code, add an image in the center, and even add custom animations:
You can experiment with the demo in your browser here: https://qr.bitjson.com/