How do I replicate a QR Code with rounded modules and pointy rounded control points with a PNG image overlay? #279
-
How would I replicate this QR code using php-qrcode? The center Image is a PNG file. In the generation of the QR code the PNG will be substituted for a PNG image of the avatar of the person who is creating the QR code. Also I would need a High level of error correction. In the iQR MacOS app they call the control points "centered" and I am using a corner radius of about 80%. Any help or pointers in how to recreate this QR code is appreciated. I am using the 5.0.x branch. I have seen these examples:
And I have found an ImageMagick Function to convert the PNG image into an SVG. I am using the Laravel Framework.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hey, I assume the desired output format is SVG? You can simply embed an image into an SVG document via the php-qrcode/examples/svgWithLogo.php Line 65 in 9b71dad Alternatively, you can append the |
Beta Was this translation helpful? Give feedback.
I finally got the logo to appear correctly, I set the png image to be 300x300 pixels as a standard size then reduced the size of the png by 13% and then set the height and width on the tag.
and this is my getFinderPatterns function