Closed
Description
Type of issue
- Bug
- Question (e.g. about handling/usage)
- Request for new feature/improvement
Expected Behavior
When generating a graphic with SvgQRCode
, using a logo and disabling the quitezones. The logo is in the middle of the qr code and the qr code is intact.
Current Behavior
There is a "hole" in the top left area of the qr code and the image overlaps pixels.
Steps to Reproduce (for bugs)
I have setup a simple blazor web ui here: https://theblubb14.github.io/QrCoderBlazor/
Source code is available here: https://github.com/TheBlubb14/QrCoderBlazor/blob/main/QrCoderBlazor/App.razor
Sample logo you can download from here: https://avatars.githubusercontent.com/u/94650532
- Download the above logo and select it in the ui for upload
- Disable the checkbox quiet zones
- Enter one letter in the input
- Click the button generate
Your Environment
- Version used: 1.4.3
- Compiled from source or NuGet package?: Use latest available nuget package and copied
SvgQRCode
from source as the new changes to add a logo are not yet available via nuget. I removed some constructors which where not compatible and removed the#ifs
to make it run under .net 8 - Payload/Encoded text: a
- Used ECC-level: M
- Used renderer class: SvgQRCode
- Environment: net8.0 blazor webassembly