Function qrcode_generator::to_png_to_file_from_segments
source · pub fn to_png_to_file_from_segments<P: AsRef<Path>>(
segments: &[QrSegment],
ecc: QrCodeEcc,
size: usize,
path: P
) -> Result<(), QRCodeError>
Expand description
Encode text to a PNG image via a file path.