# INTRODUCTION

A render element for rendering a simple QR-code with the option to:
* add a logo info the rendered qr-code
* make the qr code downloadable as a png file
* change background color
* change foreground color
* define a fixed size

Usage example:

$element = [
  '#type' => 'easyqrcodejs',
  '#value' => 'Some text or url to encode into a QR code',
  '#width' => 256,
  '#height' => 256,
  '#foreground' => '#000000',
  '#background' => '#ffffff',
  '#logo' => 'path/to/logo.png'
  '#download' => 'qr-code.png',
];

Uses the easyqrcodejs js libary (https://github.com/ushelp/EasyQRCodeJS/)

# INSTALLATION

* Install as you would normally install a contributed Drupal module. Visit
https://www.drupal.org/node/1897420 for further information.

# CONFIGURATION

none

Calibrate

Supporting organizations: 

Project information

Releases