Function qrcode_generator::to_png_to_file[][src]

pub fn to_png_to_file<D: AsRef<[u8]>, P: AsRef<Path>>(
    data: D,
    ecc: QrCodeEcc,
    size: usize,
    path: P
) -> Result<(), QRCodeError>

Encode data to a PNG image via a file path.