Function lwk_common::address_to_uri_qr
source · pub fn address_to_uri_qr(
address: &Address,
pixel_per_module: Option<u8>
) -> Result<String, QrError>
Expand description
Convert the given elements address to an image uri
The image format is monocromatic bitmap, encoded in base64 in the uri.
The text content of the QR doesn’t contain a schema
Without pixel_per_module
the default is no border, and 1 pixel per module, to be used
for example in html: style="image-rendering: pixelated; border: 20px solid white;"