Description Usage Arguments Note Examples
Return a QR encoded string as a base 64 encoded inline png
1 | qrencode_png(to_encode)
|
to_encode |
the data to encode |
data:image/png;base64,
is prepended to the encoded png
1 | cat(qrencode_png("http://rud.is/b"))
|
Loading required package: raster
Loading required package: sp
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAAAAACMfPpKAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAfElEQVQYlU2QWwrEMAwDR0vuf+XZj8qJSyjIyNYjAkAMQNFhkBCKzoNiin70kxKBN41ENuf7+9AZWQOGRx/2m4TeKy2YO0GyDpwszW5EUCs/ur78NZtGvSa8azdPDGttsonot8LtDFNnrs4yLSbuJk0ajnV3vevhCxUj4Q+R11n764g4WgAAAABJRU5ErkJggg==
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.