Module Description
# 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
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
Module Link
Project Usage
330
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module solves the problem of easily rendering customizable QR codes with options such as adding a logo, changing colors, and defining a fixed size.
Data Name
easyqrcodejs