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

Encode data to image data stored in a Vec instance.