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

Is it possible to embed an image? #7

Closed
gabrielmaldi opened this issue Dec 29, 2021 · 2 comments
Closed

Is it possible to embed an image? #7

gabrielmaldi opened this issue Dec 29, 2021 · 2 comments

Comments

@gabrielmaldi
Copy link

Hi, first of all thanks for this great project! 💪🏻

Is it possible to embed an image (probably a logo) in the center of the QR code image? Like QRCode Monkey's ADD LOGO IMAGE feature. Or as discussed in this other project: codebude/QRCoder#232

I'm using the Demo-ImageSharp sample.

Thanks!

@manuelbl
Copy link
Owner

This library does not directly support adding an image as such a feature is very dependent on the imaging library being used.

For most imaging library, it's straight-forward to achieve. I've exteneded the Demo-ImageSharp sample code to additionally create a QR code with an image. I hope it's helpful for your purpose.

@gabrielmaldi
Copy link
Author

Wow, thank you very much for this great example and quick reply!

That worked perfectly, I will adapt it to my needs.

Thanks again!

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

2 participants