[−][src]Function qrcode_generator::to_png_to_file
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.
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.