Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use an SVG file as an image #12

Open
emblaszkiewicz opened this issue Oct 2, 2024 · 0 comments
Open

Can I use an SVG file as an image #12

emblaszkiewicz opened this issue Oct 2, 2024 · 0 comments

Comments

@emblaszkiewicz
Copy link

Great package for Node! Thank you very much! PNG and JPG files work great when I include a logo inside the QR code (I create a buffer from base64 and pass it as the image property). However, I am wondering if it is possible to do the same with SVG files. I tried passing it in a buffer, using a data URI, and even including it in an tag, but I received an error: "Missing Source URL." Is there any way to make this work with SVG files? I would appreciate any help or answer if it is even possible what i wanna do with SVG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant