pub fn to_png_by_segments<W: Write>(
    segments: &[QrSegment],
    ecc: QrCodeEcc,
    size: usize,
    writer: W
) -> Result<(), Error>
Expand description

Encode data to a PNG image via any writer.