-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
Description
Describe the bug
Well, I'd expect the logo to be drawn at the center, with the actual qr code floating around it.
Instead, the code itself covers the entire rect area including the center, and the logo is drawn on top of it.
To Reproduce
return await getPNG(value, {
bgColor,
color: fgColor,
logo,
logoWidth: 20,
logoHeight: 20,
parse_url: true,
borderRadius: 50,
size: 100,
});
Expected behavior
I'd expect the logo to be drawn at the center, with the actual qr code floating around it.
Desktop (please complete the following information):
- OS: windows 11
- Browser Chrome 128
- Version 9.3.0