Function qrcode_generator::to_png_to_vec_from_str
source · pub fn to_png_to_vec_from_str<S: AsRef<str>>(
text: S,
ecc: QrCodeEcc,
size: usize
) -> Result<Vec<u8>, QRCodeError>
Expand description
Encode text to a PNG image in memory.