endroid / qr-code

QR Code Generator
https://endroid.nl
MIT License
4.45k stars 726 forks source link

how set background color for the logo #411

Closed IbraheemSalem closed 1 year ago

IbraheemSalem commented 1 year ago

Dears Endroid

how set background color for the logo

example https://forms.fbsu.edu.sa/files/1qrcodes.png

Best Regards

endroid commented 1 year ago

Hi @IbraheemSalem a logo is placed as is. So if it has a transparent background, you see the QR code underneath. However, someone added the possibility to create a so called "punchout" which you can enable via $logo->setPunchoutBackground(true) or via the builder as described in the readme. Those are the options at the moment, good luck!