to_image

Function 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.