Function qrcode_generator::to_png_to_vec [−][src]
pub fn to_png_to_vec<D: AsRef<[u8]>>(
data: D,
ecc: QrCodeEcc,
size: usize
) -> Result<Vec<u8>, QRCodeError>
Encode data to a PNG image in memory.
pub fn to_png_to_vec<D: AsRef<[u8]>>(
data: D,
ecc: QrCodeEcc,
size: usize
) -> Result<Vec<u8>, QRCodeError>
Encode data to a PNG image in memory.