pub fn to_image_buffer_from_str<S: AsRef<str>>( text: S, ecc: QrCodeEcc, size: usize, ) -> Result<ImageBuffer<Luma<u8>, Vec<u8>>, QRCodeError>
Encode text to a image buffer.