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

Using Images/Logos with php-qrcode #40

Closed
aw029 opened this issue Dec 12, 2019 · 2 comments
Closed

Using Images/Logos with php-qrcode #40

aw029 opened this issue Dec 12, 2019 · 2 comments

Comments

@aw029
Copy link

aw029 commented Dec 12, 2019

Hi,

is it possible to use a custom image like a logo or anything else and have it as an overlay? If it is possible, it would be great if you could provide an example.

Something like this one: https://stackoverflow.com/questions/45520988/creating-a-qr-code-with-a-centered-logo-in-php-with-php-qr-code-generator or this one
https://ourcodeworld.com/articles/read/225/how-to-generate-qr-code-with-logo-easily-in-php-automatically

Thank you very much!
Best
Alexander

@codemasher
Copy link
Member

Hi, #35 is very similar - the only difference is that it's adding a GD text object instead of another image. (see the QRImageWithText example). If you prefer ImageMagick, you can extend the QRImagick class.

@aw029
Copy link
Author

aw029 commented Dec 12, 2019

Thank you!

@aw029 aw029 closed this as completed Dec 12, 2019
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