Castlenine / svelte-qrcode

QR Code generator component for Svelte & SvelteKit, with no dependencies
MIT License
14 stars 4 forks source link

Any way to size logo based on module units? #3

Open x032205 opened 1 week ago

x032205 commented 1 week ago

First off, I love this project, amazing job on it!

But anyways, I generate QR codes for sending funds to crypto addresses, and every crypto protocol has a different logo and a different address length. This results in some logos looking great, but some cropping out a few "dots". If it was possible to size logos based off of module units, then this problem would not exist.

Here's an example of a logo "cutting off" some of the modules.

image
x032205 commented 1 day ago

I made a PR fixing this issue: https://github.com/Castlenine/svelte-qrcode/pull/5