pub fn to_png_to_vec_from_segments(
    segments: &[QrSegment],
    ecc: QrCodeEcc,
    size: usize
) -> Result<Vec<u8>, QRCodeError>
Expand description

Encode segments to a PNG image in memory.