Hello,
Thanks for your inquiry.
I noticed that you are using the free version of Spire.Barcode. I am sorry that our Free Spire.Barcode does not support adding an image at the center of the QR code currently. I recommend you download the latest Spire.BarCode(Hot Fix) Version:5.1.4 and refer to the following code to test.
- Code: Select all
BarcodeSettings bs = new BarcodeSettings();
bs.Type = BarCodeType.QRCode;
bs.Data2D = "12345";
bs.QRCodeLogoImage = Image.FromFile("Logo.png");
BarCodeGenerator bg = new BarCodeGenerator(bs);
bg.GenerateImage().Save("QRCode.png");
If there are any other questions, just feel free to contact us.
Sincerely,
Brian
E-iceblue support team