Visual QR Code Generator With Pure JavaScript – Qart.js

Category: Javascript , Recommended | September 20, 2018
Author: kciter
Views Total: 2,050
Official Page: Go to website
Last Update: September 20, 2018
License: MIT

Preview:

Visual QR Code Generator With Pure JavaScript – Qart.js

Description:

Qart.js is a pure JS based visual QR code generator which enables you to merge any images into your QR code. Heavily based on the qrcode library.

How to use it:

Install the Qart.js via NPM.

$ npm install qartjs

Or include the Qart.js library together with the qrcode on your html page.

<script src="qrcode.js"></script>
<script src="qart.min.js"></script>

Create a container to display the combined qr code.

<div id="combine"></div>

Generate a qr code with a specific image combined.

new QArt({
    value: "http://www.cssscript.com",
    imagePath: "bg.png",
    filter: "threshold" // or color
}).make(document.getElementById('qart'));

Changelog:

09/20/2018

  • v1.2.0

You Might Be Interested In:

Leave a Reply