Function qrcode_generator::to_image

source ·
pub fn to_image<D: AsRef<[u8]>>(
    data: D,
    ecc: QrCodeEcc,
    size: usize
) -> Result<Vec<u8>, QRCodeError>
Expand description

Encode data to raw image in memory.