Function Repository Resource:

LogoQRCode

Source Notebook

Generate a QR code with an image embedded in the center

Contributed by: Jon McLoone

ResourceFunction["LogoQRCode"][text,image]

generates a QR code with image embedded in the center.

ResourceFunction["LogoQRCode"][text,image,size]

generates a QR code with image embedded in the center with image size size.

Details and Options

QR codes contain redundant information that allows the embedding of a logo to not destroy the functionality of the QR code. However, the reduced redundacy means that such QR codes may have a higher failure rate when scanned poorly.
Some embedded images may interfere with the QR image. ResourceFunction["LogoQRCode"] will return $Failed in these circumstances.

Examples

Basic Examples (1) 

Embed a logo in a QR code:

In[1]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/ad59a915-3611-40da-a8dd-1beba444bf85"]
Out[1]=

Scope (1) 

An additional argument controls the output size:

In[2]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/7d874425-0950-4621-8029-b7eaee808398"]
Out[2]=

Applications (1) 

Create a QR code in the color of the embedded logo:

In[3]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/aa47c87c-586a-419d-8147-8a473be9b7b7"]
Out[3]=

Publisher

Jon McLoone

Requirements

Wolfram Language 11.3 (March 2018) or above

Version History

  • 1.0.0 – 25 February 2019

License Information