You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] Bug
[ ] Question (e.g. about handling/usage)
[ ] Request for new feature/improvement
Expected Behavior
generation svg qr code from URL, when trying to scan it appears corrupted
Current Behavior
Possible Solution (optional)
Steps to Reproduce (for bugs)
```
var qrGenerator = new QRCodeGenerator();
Url generator = new Url($"http://localhost:5021/api/dishes/f275207a-bd72-4d25-b67e-430b4c03a744/tenant-104");
string plainText = generator.ToString();
QRCodeData qrCodeData = qrGenerator.CreateQrCode(plainText, QRCodeGenerator.ECCLevel.Q);
var qrCode = new SvgQRCode(qrCodeData);
var qrCodeAsSvg = qrCode.GetGraphic(20);
// saving
var fileName = qrCodeExternalId.ExternalId + ".svg";
string uploadFolderPath = refInfoTenantId.ToString();
var relativePath = Path.Combine(uploadFolderPath, fileName);
string uploadBaseFolderPath = "C:\\uploads\\";
var filePath = Path.Combine(uploadBaseFolderPath, relativePath);
using var stream = new FileStream(filePath, FileMode.Create);
using var streamW = new StreamWriter(stream);
streamW.Write(qrCodeAsSvg);
2) Scan qr Code with iphone 14pro camera, receive just "localhost"
## Your Environment
<!--
Include as many relevant details about the environment you experienced the bug in.
* Version used: "QRCoder" Version="1.5.1"
* Compiled from source or NuGet package?:
* Payload/Encoded text:
* Used payload generator:
* Used ECC-level:
* Used renderer class:
* Environment (.NET 3.5, .NET 4.X, .NETCore, ...): net8, Windows10 home
-->
The text was updated successfully, but these errors were encountered:
Type of issue
[ x] Bug
[ ] Question (e.g. about handling/usage)
[ ] Request for new feature/improvement
Expected Behavior
generation svg qr code from URL, when trying to scan it appears corrupted
Current Behavior
Possible Solution (optional)
Steps to Reproduce (for bugs)
var qrGenerator = new QRCodeGenerator();
Url generator = new Url($"http://localhost:5021/api/dishes/f275207a-bd72-4d25-b67e-430b4c03a744/tenant-104");
string plainText = generator.ToString();
QRCodeData qrCodeData = qrGenerator.CreateQrCode(plainText, QRCodeGenerator.ECCLevel.Q);
var qrCode = new SvgQRCode(qrCodeData);
var qrCodeAsSvg = qrCode.GetGraphic(20);
The text was updated successfully, but these errors were encountered: