chillerlan / php-qrcode

A PHP QR Code generator and reader with a user-friendly API.
https://smiley.codes/qrcode/
Apache License 2.0
2.01k stars 302 forks source link

can you give me an exmple of how to create a frame around the QR code like this? #180

Closed deepesharora closed 1 year ago

deepesharora commented 1 year ago

@codemasher you've been awesome with the examples you've provided with this repository. I'm trying to create something like this with such kind of frames as shown in the pictures. https://i.imgur.com/B16LP5r.png

Any guidance or examples you cn provide on how to achieve the same kind of effect with this library?

codemasher commented 1 year ago

If you want to do this in SVG, you can start from the examples given in #150, for raster images like png or jpg, you will need to create the frame by yourself in GD or ImageMagick and embed the QR Code in it (i can assist you with the latter in that case). If you need examples for any of, you can check out the following links: