From 3dfd8b0409ce07671548763957cbd1ce8b0cf8bd Mon Sep 17 00:00:00 2001 From: Mark Gross Date: Tue, 28 Nov 2023 11:42:51 -0800 Subject: [PATCH] Fix readme --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 7ffdda2f..d0a22a59 100644 --- a/readme.md +++ b/readme.md @@ -45,8 +45,8 @@ You only need four lines of code, to generate and view your first QR code. ```csharp QRCodeGenerator qrGenerator = new QRCodeGenerator(); QRCodeData qrCodeData = qrGenerator.CreateQrCode("The text which should be encoded.", QRCodeGenerator.ECCLevel.Q); -QRCode qrCode = new QRCode(qrCodeData); -Bitmap qrCodeImage = qrCode.GetGraphic(20); +QRCode qrCode = new PngByteQRCode(qrCodeData); +byte[] qrCodeImage = qrCode.GetGraphic(20); ``` ### Optional parameters and overloads