qrencode_png: Return a QR encoded string as a base 64 encoded inline png

Description Usage Arguments Note Examples

Description

Return a QR encoded string as a base 64 encoded inline png

Usage

1
qrencode_png(to_encode)

Arguments

to_encode

the data to encode

Note

data:image/png;base64, is prepended to the encoded png

Examples

1
cat(qrencode_png("http://rud.is/b"))

Example output

Loading required package: raster
Loading required package: sp
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAAAAACMfPpKAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAfElEQVQYlU2QWwrEMAwDR0vuf+XZj8qJSyjIyNYjAkAMQNFhkBCKzoNiin70kxKBN41ENuf7+9AZWQOGRx/2m4TeKy2YO0GyDpwszW5EUCs/ur78NZtGvSa8azdPDGttsonot8LtDFNnrs4yLSbuJk0ajnV3vevhCxUj4Q+R11n764g4WgAAAABJRU5ErkJggg==

qrencoder documentation built on May 1, 2019, 7:29 p.m.